Update makefile
This commit is contained in:
parent
a6891994d4
commit
b6921e5a56
9
Makefile
9
Makefile
@ -36,11 +36,8 @@ $(BUILD_DIR):
|
||||
$(BUILD_OUTPUT): $(BUILD_DIR) $(GEODB_PATH)
|
||||
CGO_ENABLED=0 go build $(BUILD_FLAGS) cmd/apiary.go
|
||||
|
||||
$(FRONTEND_BUILD_DIR):
|
||||
pushd web/frontend
|
||||
yarn install
|
||||
yarn build
|
||||
popd
|
||||
frontend:
|
||||
cd web/frontend && yarn install && yarn build
|
||||
|
||||
clean:
|
||||
rm -rv $(BUILD_DIR)
|
||||
@ -48,7 +45,7 @@ clean:
|
||||
|
||||
geodb: $(GEODB_PATH)
|
||||
|
||||
build: $(BUILD_OUTPUT) $(FRONTEND_BUILD_DIR)
|
||||
build: $(BUILD_OUTPUT) frontend
|
||||
|
||||
install: build
|
||||
mkdir -p $(INSTALL_BIN_DIR)
|
||||
|
Loading…
Reference in New Issue
Block a user