mattermost-plugin-rssfeed does not need dep any more
Signed-off-by: webbuilder_pel7ppc64lebuilder0 <webbuilder@powerel.org>master
parent
bc60347567
commit
de2f4cb77e
|
@ -19,7 +19,7 @@ Requires: mattermost
|
||||||
%prep
|
%prep
|
||||||
%setup -q -T -c %{name}-%{version}
|
%setup -q -T -c %{name}-%{version}
|
||||||
export GOPATH=`pwd`
|
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/
|
mkdir -p src/github.com/wbernest/
|
||||||
cd src/github.com/wbernest/
|
cd src/github.com/wbernest/
|
||||||
git clone https://github.com/wbernest/mattermost-plugin-rssfeed
|
git clone https://github.com/wbernest/mattermost-plugin-rssfeed
|
||||||
|
@ -30,11 +30,11 @@ export GOPATH=`pwd`
|
||||||
export PATH="bin:"$PATH
|
export PATH="bin:"$PATH
|
||||||
cd src/github.com/wbernest/mattermost-plugin-rssfeed
|
cd src/github.com/wbernest/mattermost-plugin-rssfeed
|
||||||
pushd server
|
pushd server
|
||||||
$GOPATH/bin/dep ensure
|
#$GOPATH/bin/dep ensure
|
||||||
pushd vendor/github.com/mattermost/
|
#pushd vendor/github.com/mattermost/
|
||||||
rm -rf mattermost-server
|
#rm -rf mattermost-server
|
||||||
git clone https://github.com/mattermost/mattermost-server
|
#git clone https://github.com/mattermost/mattermost-server
|
||||||
popd
|
#popd
|
||||||
go build -ldflags '-extldflags -s -w -buildid %{version}' -o plugin.exe
|
go build -ldflags '-extldflags -s -w -buildid %{version}' -o plugin.exe
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue