Skip to content

Commit

Permalink
Update makefile with some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lallassu authored Sep 30, 2019
1 parent f0e6625 commit 7a50798
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,10 +11,10 @@ run: build
release:
@mkdir release
@mkdir dist
@CC=x86_64-linux-musl-gcc CXX=x86_64-linux-musl-g++ GOARCH=amd64 GOOS=linux CGO_ENABLED=1 go build -ldflags "-linkmode external -extldflags -static -s -w -X $(shell go list)/internal.Version=${VERSION}" -o ../release/gorss_linux ./cmd/gorss/...
@go build -ldflags "-s -w -X $(shell go list)/internal.Version=${VERSION}" -o ../release/gorss_osx ./cmd/gorss/...
@CC=x86_64-linux-musl-gcc CXX=x86_64-linux-musl-g++ GOARCH=amd64 GOOS=linux CGO_ENABLED=1 go build -ldflags "-linkmode external -extldflags -static -s -w -X $(shell go list)/internal.Version=${VERSION}" -o ./release/gorss_linux ./cmd/gorss/...
@go build -ldflags "-s -w -X $(shell go list)/internal.Version=${VERSION}" -o ./release/gorss_osx ./cmd/gorss/...
@cp gorss.conf dist/
@cp themes/default.theme gorss/
@cp themes/default.theme dist/
@cp -r themes dist/
@mv release/gorss_linux dist && tar cvfz gorss_linux.tar.gz dist
@rm dist/gorss_linux
Expand Down

0 comments on commit 7a50798

Please sign in to comment.