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