Browse Source

mattermost-plugin-rssfeed does not need dep any more

Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>
master
webbuilder_pel7ppc64lebuilder0 5 years ago
parent
commit
de2f4cb77e
  1. 12
      SPECS/mattermost-plugin-rssfeed.spec

12
SPECS/mattermost-plugin-rssfeed.spec

@ -19,7 +19,7 @@ Requires: mattermost @@ -19,7 +19,7 @@ Requires: mattermost
%prep
%setup -q -T -c %{name}-%{version}
export GOPATH=`pwd`
go get -u -v github.com/golang/dep/cmd/dep
#go get -u -v github.com/golang/dep/cmd/dep
mkdir -p src/github.com/wbernest/
cd src/github.com/wbernest/
git clone https://github.com/wbernest/mattermost-plugin-rssfeed
@ -30,11 +30,11 @@ export GOPATH=`pwd` @@ -30,11 +30,11 @@ export GOPATH=`pwd`
export PATH="bin:"$PATH
cd src/github.com/wbernest/mattermost-plugin-rssfeed
pushd server
$GOPATH/bin/dep ensure
pushd vendor/github.com/mattermost/
rm -rf mattermost-server
git clone https://github.com/mattermost/mattermost-server
popd
#$GOPATH/bin/dep ensure
#pushd vendor/github.com/mattermost/
#rm -rf mattermost-server
#git clone https://github.com/mattermost/mattermost-server
#popd
go build -ldflags '-extldflags -s -w -buildid %{version}' -o plugin.exe
popd


Loading…
Cancel
Save