-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #179 from DecentralCardGame/development
Merge dev in master
- Loading branch information
Showing
60 changed files
with
2,529 additions
and
2,175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,5 @@ release/ | |
.idea/ | ||
.vscode/ | ||
.DS_Store | ||
/build | ||
/cs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
############################################################################### | ||
### Build ### | ||
############################################################################### | ||
|
||
# Default target | ||
all: install | ||
|
||
# Build directory | ||
BUILDDIR := ./build | ||
|
||
# Build the project | ||
build: go.sum $(BUILDDIR)/ | ||
@echo "Warning: Building without version information" | ||
@echo "Warning: To build with version info and defaults please use './ignite chain build'" | ||
go build -tags=ledger -mod=readonly -o $(BUILDDIR)/ ./... | ||
|
||
# Create the build directory | ||
$(BUILDDIR)/: | ||
mkdir -p $(BUILDDIR)/ | ||
|
||
# Install binary to ~/go/bin/ | ||
install: build | ||
cp $(BUILDDIR)/Cardchaind ~/go/bin/ | ||
|
||
# Verify dependencies | ||
go.sum: go.mod | ||
@echo "Ensure dependencies have not been modified ..." >&2 | ||
@go mod verify | ||
|
||
# Clean build directory | ||
clean: | ||
rm -rf $(BUILDDIR)/ | ||
|
||
# Phony targets | ||
.PHONY: all build install clean |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.