include build directory for dockder images; move build artifacts to out (#1401)

This commit is contained in:
Nick DeLuca 2022-11-23 09:39:10 -07:00 committed by GitHub
parent d5dcfe73b2
commit 94763d9091
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
build/ out/
**/node_modules/ **/node_modules/
.git/ .git/
docs/ docs/

View File

@ -175,9 +175,9 @@ all: install
build: go.sum build: go.sum
ifeq ($(OS), Windows_NT) ifeq ($(OS), Windows_NT)
go build -mod=readonly $(BUILD_FLAGS) -o build/$(shell go env GOOS)/kava.exe ./cmd/kava go build -mod=readonly $(BUILD_FLAGS) -o out/$(shell go env GOOS)/kava.exe ./cmd/kava
else else
go build -mod=readonly $(BUILD_FLAGS) -o build/$(shell go env GOOS)/kava ./cmd/kava go build -mod=readonly $(BUILD_FLAGS) -o out/$(shell go env GOOS)/kava ./cmd/kava
endif endif
build-linux: go.sum build-linux: go.sum