mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 23:35:19 +00:00
include build directory for dockder images; move build artifacts to out (#1401)
This commit is contained in:
parent
d5dcfe73b2
commit
94763d9091
@ -1,4 +1,4 @@
|
||||
build/
|
||||
out/
|
||||
**/node_modules/
|
||||
.git/
|
||||
docs/
|
||||
|
4
Makefile
4
Makefile
@ -175,9 +175,9 @@ all: install
|
||||
|
||||
build: go.sum
|
||||
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
|
||||
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
|
||||
|
||||
build-linux: go.sum
|
||||
|
Loading…
Reference in New Issue
Block a user