Build the thing with another action

This commit is contained in:
2019-03-09 19:55:50 -05:00
parent 16760d88e1
commit e7c8db3777
5 changed files with 19 additions and 18 deletions

17
vuefun/Makefile Normal file
View File

@@ -0,0 +1,17 @@
BUILD_NAME := $(shell go env GOOS)_$(shell go env GOARCH)
TARGETS := build/$(BUILD_NAME)/vuefun-app
.PHONY: all
all: $(TARGETS)
.PHONY: wat
wat:
@echo TARGETS="$(TARGETS)"
.PHONY: clean
clean:
rm -rf build
build/$(BUILD_NAME)/vuefun-app: $(wildcard *.go)
go build -o $@ $<