Compare commits
No commits in common. "db565303112739520b3c1ae8bae881a7ee28473a" and "f0047a7a0ce72f41dd8f4bc6cad5fe9babe913c1" have entirely different histories.
db56530311
...
f0047a7a0c
7
Makefile
7
Makefile
|
@ -21,10 +21,6 @@ build-arm64:
|
|||
build-armhf:
|
||||
GOOS=linux GOARCH=arm RELEASE=prod make build
|
||||
|
||||
build-amd64:
|
||||
GOOS=linux GOARCH=amd64 RELEASE=prod make build
|
||||
|
||||
|
||||
build:
|
||||
@echo "Building ${GOOS}-${GOARCH}"
|
||||
GOOS=${GOOS} GOARCH=${GOARCH} go build \
|
||||
|
@ -45,7 +41,7 @@ test-with-coverage:
|
|||
go test -tags=unit -timeout=600s -v ./... -coverprofile=coverage.out
|
||||
|
||||
install:
|
||||
sudo systemctl stop edgeboxctl || true
|
||||
sudo systemctl stop edgeboxctl
|
||||
sudo rm -rf /usr/local/bin/edgeboxctl /usr/local/sbin/edgeboctl /lib/systemd/system/edgeboxctl.service
|
||||
sudo cp ./bin/edgeboxctl /usr/local/bin/edgeboxctl
|
||||
sudo cp ./bin/edgeboxctl /usr/local/sbin/edgeboxctl
|
||||
|
@ -58,7 +54,6 @@ install-prod: build-prod install
|
|||
install-cloud: build-cloud install
|
||||
install-arm64: build-arm64 install
|
||||
install-armhf: build-armhf install
|
||||
install-amd64: build-amd64 install
|
||||
|
||||
start:
|
||||
systemctl start edgeboxctl
|
||||
|
|
Loading…
Reference in New Issue