Files
2020-11-07 13:12:13 -05:00

20 lines
763 B
Makefile

VERSION=0.0.02
all: gen
GOOS=windows go build -o i2pchromium.exe
GOOS=darwin go build -o i2pchromium-darwin
GOOS=linux go build -o i2pchromium
gen:
go run -tags generate gen.go
release:
gothub release -p -u eyedeekay -r "I2P-Configuration-for-Chromium" -t $(VERSION) -n "Launchers" -d "A self-configuring launcher for I2P Browsing with Chromium"; true
gothub upload -R -u eyedeekay -r "I2P-Configuration-for-Chromium" -t $(VERSION) -n "i2pchromium.exe" -f "i2pchromium.exe"
gothub upload -R -u eyedeekay -r "I2P-Configuration-for-Chromium" -t $(VERSION) -n "i2pchromium-darwin" -f "i2pchromium-darwin"
gothub upload -R -u eyedeekay -r "I2P-Configuration-for-Chromium" -t $(VERSION) -n "i2pchromium" -f "i2pchromium"
zip:
cd i2pchrome.js && make zip