1
0
mirror of https://github.com/mainflux/mainflux.git synced 2025-04-29 13:49:28 +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 BUILD_DIR=build
all: manager http normalizer writer coap all: manager http normalizer writer
.PHONY: all manager http normalizer writer coap .PHONY: all manager http normalizer writer
manager: manager:
go build -o ${BUILD_DIR}/mainflux-manager cmd/manager/main.go go build -o ${BUILD_DIR}/mainflux-manager cmd/manager/main.go
@ -16,9 +15,6 @@ normalizer:
writer: writer:
go build -o ${BUILD_DIR}/mainflux-writer cmd/writer/main.go go build -o ${BUILD_DIR}/mainflux-writer cmd/writer/main.go
coap:
go build -o ${BUILD_DIR}/mainflux-coap cmd/coap/main.go
clean: clean:
rm -rf ${BUILD_DIR} rm -rf ${BUILD_DIR}

View File

@ -12,9 +12,10 @@ fi
export GOBIN=$GOPATH/bin export GOBIN=$GOPATH/bin
export PATH=$PATH:$GOBIN export PATH=$PATH:$GOBIN
mkdir -p $GOBIN
# Mainflux Go microservices # 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 cd $GOPATH/src/github.com/mainflux/mainflux
make make
make install make install