Skip to content

Commit

Permalink
bet
Browse files Browse the repository at this point in the history
  • Loading branch information
ocnc committed Aug 28, 2024
1 parent 84c2b8c commit 46a3397
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build/scripts/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ build_tags += $(BUILD_TAGS)
BUILD_FLAGS := -tags "$(build_tags)" -ldflags '$(ldflags)'
# check for nostrip option
ifeq (,$(findstring nostrip,$(COSMOS_BUILD_OPTIONS)))
BUILD_FLAGS += -trimpath
BUILD_FLAGS += -trimpath
endif

# Check for debug option
Expand All @@ -83,7 +83,7 @@ endif
BUILD_TARGETS := build install

## Build:
build: BUILD_ARGS=-o $(OUT_DIR)/$(TESTAPP) ## build `beacond`
build: BUILD_ARGS=-o $(OUT_DIR)/$(TESTAPP) ## build `beacond`

$(BUILD_TARGETS): $(OUT_DIR)/
@echo "Building ${TESTAPP_CMD_DIR}"
Expand Down
2 changes: 1 addition & 1 deletion build/scripts/testing.mk
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ test-unit: ## run golang unit tests
test-unit-cover: ## run golang unit tests with coverage
@echo "Running unit tests with coverage..."
@go list -f '{{.Dir}}/...' -m | xargs \
go test -race -coverprofile=test-unit-cover.txt
go test -race -coverprofile=test-unit-cover.txt

test-unit-bench: ## run golang unit benchmarks
@echo "Running unit tests with benchmarks..."
Expand Down

0 comments on commit 46a3397

Please sign in to comment.