mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-29 07:29:31 +01:00
Makefile should use var defined at top of file
This commit is contained in:
parent
7c624f9a38
commit
342a84ba3f
6
Makefile
6
Makefile
@ -31,19 +31,19 @@ windows:
|
|||||||
cd $(WIN) && zip -r ../oragono-$(VERS)-windows.zip *
|
cd $(WIN) && zip -r ../oragono-$(VERS)-windows.zip *
|
||||||
|
|
||||||
osx:
|
osx:
|
||||||
GOOS=darwin GOARCH=amd64 go build oragono.go
|
GOOS=darwin GOARCH=amd64 go build $(SOURCE)
|
||||||
$(call add-files,$(OSX))
|
$(call add-files,$(OSX))
|
||||||
mv oragono $(OSX)
|
mv oragono $(OSX)
|
||||||
cd $(OSX) && tar -czvf ../oragono-$(VERS)-osx.tgz *
|
cd $(OSX) && tar -czvf ../oragono-$(VERS)-osx.tgz *
|
||||||
|
|
||||||
linux:
|
linux:
|
||||||
GOOS=linux GOARCH=amd64 go build oragono.go
|
GOOS=linux GOARCH=amd64 go build $(SOURCE)
|
||||||
$(call add-files,$(LINUX))
|
$(call add-files,$(LINUX))
|
||||||
mv oragono $(LINUX)
|
mv oragono $(LINUX)
|
||||||
cd $(LINUX) && tar -czvf ../oragono-$(VERS)-linux.tgz *
|
cd $(LINUX) && tar -czvf ../oragono-$(VERS)-linux.tgz *
|
||||||
|
|
||||||
arm6:
|
arm6:
|
||||||
GOARM=6 GOARCH=arm go build oragono.go
|
GOARM=6 GOARCH=arm go build $(SOURCE)
|
||||||
$(call add-files,$(ARM6))
|
$(call add-files,$(ARM6))
|
||||||
mv oragono $(ARM6)
|
mv oragono $(ARM6)
|
||||||
cd $(ARM6) && tar -czvf ../oragono-$(VERS)-arm.tgz *
|
cd $(ARM6) && tar -czvf ../oragono-$(VERS)-arm.tgz *
|
||||||
|
Loading…
Reference in New Issue
Block a user