Skip to content

Commit

Permalink
halt
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonWeng committed Jul 3, 2023
1 parent a0df943 commit 019cb40
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,16 @@ ldflags += $(LDFLAGS)
ldflags := $(strip $(ldflags))

BUILD_FLAGS := -tags "$(build_tags)" -ldflags '$(ldflags)' -race
# halt_on_error (default 0): Controls whether the program exits after reporting first data race.
BUILD_OPTIONS := halt_on_error=1
# BUILD_FLAGS := -tags "$(build_tags)" -ldflags '$(ldflags)'

#### Command List ####

all: lint install

install: go.sum
go install $(BUILD_FLAGS) ./cmd/seid
$(BUILD_OPTIONS) go install $(BUILD_FLAGS) ./cmd/seid

install-price-feeder: go.sum
go install $(BUILD_FLAGS) ./oracle/price-feeder
Expand Down

0 comments on commit 019cb40

Please sign in to comment.