1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-28 13:48:49 +08:00

Merge pull request #105 from mainflux/install

Fix installation and remove coap from Makefile
This commit is contained in:
Drasko DRASKOVIC 2017-09-26 18:17:04 +02:00 committed by GitHub
commit 0f2020aeee
2 changed files with 4 additions and 7 deletions

View File

@ -1,8 +1,7 @@
BUILD_DIR=build
all: manager http normalizer writer coap
.PHONY: all manager http normalizer writer coap
all: manager http normalizer writer
.PHONY: all manager http normalizer writer
manager:
go build -o ${BUILD_DIR}/mainflux-manager cmd/manager/main.go
@ -16,9 +15,6 @@ normalizer:
writer:
go build -o ${BUILD_DIR}/mainflux-writer cmd/writer/main.go
coap:
go build -o ${BUILD_DIR}/mainflux-coap cmd/coap/main.go
clean:
rm -rf ${BUILD_DIR}

View File

@ -12,9 +12,10 @@ fi
export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN
mkdir -p $GOBIN
# Mainflux Go microservices
go get -d github.com/mainflux/mainflux
go get -d -v github.com/mainflux/mainflux
cd $GOPATH/src/github.com/mainflux/mainflux
make
make install