diff --git a/.github/main.workflow b/.github/main.workflow index fbcfd67..97194aa 100644 --- a/.github/main.workflow +++ b/.github/main.workflow @@ -5,5 +5,5 @@ workflow "Main" { action "vuefun Build" { uses = "cedrickring/golang-action/go1.11@1.1.1" - args = "make -C vuefun" + args = "make -C vuefun clean all" } diff --git a/vuefun/Makefile b/vuefun/Makefile index 708799e..9aea451 100644 --- a/vuefun/Makefile +++ b/vuefun/Makefile @@ -1,9 +1,15 @@ BUILD_NAME := $(shell go env GOOS)_$(shell go env GOARCH) TARGETS := build/$(BUILD_NAME)/vuefun-app - .PHONY: all -all: $(TARGETS) +all: build test + +.PHONY: build +build: $(TARGETS) + +.PHONY: test +test: + go test -v .PHONY: wat wat: diff --git a/vuefun/go.mod b/vuefun/go.mod index 68d864e..a811b26 100644 --- a/vuefun/go.mod +++ b/vuefun/go.mod @@ -1 +1 @@ -module . +module github.com/meatballhat/box-o-sand/vuefun