More workflow good times
This commit is contained in:
parent
739716d232
commit
ef691c9c75
2
.github/main.workflow
vendored
2
.github/main.workflow
vendored
@ -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"
|
||||
}
|
||||
|
@ -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:
|
||||
|
@ -1 +1 @@
|
||||
module .
|
||||
module github.com/meatballhat/box-o-sand/vuefun
|
||||
|
Loading…
Reference in New Issue
Block a user