Move tons of stuff into oldstuff/
This commit is contained in:
26
oldstuff/vuefun/Makefile
Normal file
26
oldstuff/vuefun/Makefile
Normal file
@@ -0,0 +1,26 @@
|
||||
BUILD_NAME := $(shell go env GOOS)_$(shell go env GOARCH)
|
||||
TARGETS := build/$(BUILD_NAME)/vuefun-app dist/index.html
|
||||
|
||||
.PHONY: all
|
||||
all: build test
|
||||
|
||||
.PHONY: build
|
||||
build: $(TARGETS)
|
||||
|
||||
.PHONY: test
|
||||
test:
|
||||
go test -v
|
||||
|
||||
.PHONY: wat
|
||||
wat:
|
||||
@echo TARGETS="$(TARGETS)"
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -rf dist/ build/
|
||||
|
||||
dist/index.html: $(wildcard src/*)
|
||||
yarn build
|
||||
|
||||
build/$(BUILD_NAME)/vuefun-app: $(wildcard *.go)
|
||||
go build -o $@ $<
|
Reference in New Issue
Block a user