More fun with vue

This commit is contained in:
2019-11-06 11:18:20 -05:00
parent 2af3b431b2
commit d0911e7039
11 changed files with 8853 additions and 27 deletions

View File

@@ -1,5 +1,5 @@
BUILD_NAME := $(shell go env GOOS)_$(shell go env GOARCH)
TARGETS := build/$(BUILD_NAME)/vuefun-app
TARGETS := build/$(BUILD_NAME)/vuefun-app dist/index.html
.PHONY: all
all: build test
@@ -17,7 +17,10 @@ wat:
.PHONY: clean
clean:
rm -rf build
rm -rf dist/ build/
dist/index.html: $(wildcard src/*)
yarn build
build/$(BUILD_NAME)/vuefun-app: $(wildcard *.go)
go build -o $@ $<