From 165cf05cb47684f44ccfab70f3dee148bcc3dd35 Mon Sep 17 00:00:00 2001 From: mame82 Date: Sun, 29 Jul 2018 21:27:27 +0000 Subject: [PATCH] Makefile fix --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2cf5891..22ed186 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,7 @@ all: compile test: # export PATH="$$PATH:/usr/local/go/bin" # put into ~/.profile echo $(CURDIR) + echo $(HOME) # make dep runs without sudo dep: @@ -51,7 +52,8 @@ compile: # compile the web app # ToDo: (check if dependencies have been fetched by 'go get', even with the build js tags) - gopherjs build -m -o build/webapp.js web_client/*.go + $(HOME)/go/bin/gopherjs get github.com/mame82/P4wnP1_go/web_client/... + $(HOME)/go/bin/gopherjs build -m -o build/webapp.js web_client/*.go install: cp build/P4wnP1_service /usr/local/bin/