Skip to content

Commit

Permalink
fixing build 3
Browse files Browse the repository at this point in the history
  • Loading branch information
John Jones committed Oct 12, 2021
1 parent 966f358 commit b3e4284
Show file tree
Hide file tree
Showing 25 changed files with 25 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
run: |
cd ground/dashboard
make install
make test
make build
cd ../tool
make install
make build
- name: Publish Artifacts
uses: softprops/action-gh-release@v1
Expand All @@ -31,3 +33,4 @@ jobs:
with:
files: |
./ground/dashboard/build/*
./ground/tool/build/*
2 changes: 1 addition & 1 deletion ground/dashboard/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ run:
go run . $(source)

build:
go build -o build/dashboard-$(OS)-$(ARCH) .
go build -o build/white-vest-dashboard-$(OS)-$(ARCH) .

test:
go test .
Expand Down
20 changes: 20 additions & 0 deletions ground/tool/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.PHONY: generate_test_data run

OS=$(shell uname)
ARCH=$(shell arch)

install:
go get ./...
go get -t ./...

run:
go run . $(source)

build:
go build -o build/white-vest-tools-$(OS)-$(ARCH) .

test:
go test .

clean:
rm -rf build
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit b3e4284

Please sign in to comment.