|
@@ -9,14 +9,18 @@ deploy: docker
|
|
|
docker push hexasoftware.com:5000/myapp
|
|
|
|
|
|
|
|
|
+
|
|
|
backend: distpath
|
|
|
@echo "Building backend... "
|
|
|
GOPATH=${CURDIR}/backend go get simple-web
|
|
|
GOPATH=${CURDIR}/backend GO_ENABLED=0 go build -o DIST/bin/server backend/src/simple-web/simple-web.go
|
|
|
|
|
|
+
|
|
|
+
|
|
|
frontend: distpath
|
|
|
@echo "Building frontend..."
|
|
|
- # Frontend
|
|
|
+
|
|
|
+ @cd frontend/web;npm i
|
|
|
@cd frontend/web;node build/build.js
|
|
|
|
|
|
test: backend #Front end has dev server
|