More workflow good times

This commit is contained in:
Dan Buch 2019-03-09 21:11:18 -05:00
parent 739716d232
commit ef691c9c75
Signed by: meatballhat
GPG Key ID: 9685130D8B763EA7
3 changed files with 10 additions and 4 deletions

View File

@ -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"
}

View File

@ -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:

View File

@ -1 +1 @@
module .
module github.com/meatballhat/box-o-sand/vuefun