From ef691c9c759ea2f049669aacb72c579a15012b35 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sat, 9 Mar 2019 21:11:18 -0500 Subject: [PATCH] More workflow good times --- .github/main.workflow | 2 +- vuefun/Makefile | 10 ++++++++-- vuefun/go.mod | 2 +- 3 files changed, 10 insertions(+), 4 deletions(-) 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