Skip to content

Commit

Permalink
fix Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
kulapard committed Dec 9, 2023
1 parent af98e06 commit 0d421bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ REV=$(if $(filter --,$(GIT_REV)),latest,$(GIT_REV)) # fallback to latest if not
all: lint test build release

build:
cd cmd/gol && go build -ldflags "-X main.revision=$(REV) -s -w" -o ../../.bin/gol.$(REV)
cp .bin/gol.$(REV) .bin/gol
.bin/gol --version
cd cmd/eatme && go build -ldflags "-X main.revision=$(REV) -s -w" -o ../../.bin/eatme.$(REV)
cp .bin/eatme.$(REV) .bin/eatme
.bin/eatme --version

release:
@echo release to dist/
Expand Down

0 comments on commit 0d421bd

Please sign in to comment.