Skip to content

Commit

Permalink
Add race condition detection
Browse files Browse the repository at this point in the history
race condition detection to the build
  • Loading branch information
prairir committed Nov 27, 2021
1 parent 0d5978c commit 72a0b92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ build:
# this is like `cp -r`
COPY --dir cmd/ pkg/ ./
# build to file `imacry`
RUN go build -o imacry main.go
# save file to outside container
RUN go build -race -o imacry main.go
# save file as artifact
SAVE ARTIFACT imacry

# gets the binary from build and then saves it to local machine
Expand Down

0 comments on commit 72a0b92

Please sign in to comment.