Skip to content

Commit

Permalink
add build-linux make target
Browse files Browse the repository at this point in the history
  • Loading branch information
mixmasala committed Apr 20, 2023
1 parent 9d9fd38 commit 3451457
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ distro=debian
go_package_cache:
mkdir -p go_package_cache

build-linux: docker-$(distro)-base
go build -trimpath -ldflags="${ldflags}"

docker-build-linux: docker-$(distro)-base
$(docker) $(docker_run_cmd) katzen/$(distro)_base bash -c 'cd /go/katzen/; go build -trimpath -ldflags="${ldflags}"'

Expand Down

0 comments on commit 3451457

Please sign in to comment.