Makefile -- Fix bug introduced by 93c451cb0c
make would always run webpack, even if output was generated already.
This commit is contained in:
parent
eb5f66ad9e
commit
9b489c8ddb
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ NATIVE_GOARCH = $(shell unset GOARCH; go env GOARCH)
|
|||||||
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
|
mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
|
||||||
mkfile_dir := $(patsubst %/,%,$(dir $(mkfile_path)))
|
mkfile_dir := $(patsubst %/,%,$(dir $(mkfile_path)))
|
||||||
GOPATH := $(mkfile_dir)/build/gopath
|
GOPATH := $(mkfile_dir)/build/gopath
|
||||||
STATIC := build/static/bundle.css build/static/bundle.js build/static/index.html
|
STATIC := build/static/index.html
|
||||||
|
|
||||||
.PHONY: all build clean
|
.PHONY: all build clean
|
||||||
all: build
|
all: build
|
||||||
|
Loading…
Reference in New Issue
Block a user