Basic implementation of client: render qa code and scan from mobile app
diff --git a/core/nebula/api/Makefile b/core/nebula/api/Makefile
index 3898183..d25b7ed 100644
--- a/core/nebula/api/Makefile
+++ b/core/nebula/api/Makefile
@@ -1,19 +1,22 @@
clean:
rm -f api_*
+tidy:
+ go1.17.1 mod tidy -compat=1.17
+
api_arm64: export CGO_ENABLED=0
api_arm64: export GO111MODULE=on
api_arm64: export GOOS=linux
api_arm64: export GOARCH=arm64
-api_arm64:
- go1.17.1 build -o api_arm64 main.go
+api_arm64: *.go
+ go1.17.1 build -o api_arm64 *.go
api_amd64: export CGO_ENABLED=0
api_amd64: export GO111MODULE=on
api_amd64: export GOOS=linux
api_amd64: export GOARCH=amd64
-api_amd64:
- go1.17.1 build -o api_amd64 main.go
+api_amd64: *.go
+ go1.17.1 build -o api_amd64 *.go
api: clean api_arm64 api_amd64