diff --git a/Makefile b/Makefile index 025c792..27187cc 100644 --- a/Makefile +++ b/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)