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:
commit
0f2020aeee
8
Makefile
8
Makefile
@ -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}
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user