blob: 90e53399c8ae6f3125e0731b6da3cce676a0cf12 [file] [log] [blame]
include ../Version.mk
all: server
clean:
-rm -Rf gerrit-installer.pkg
-rm -Rf gerrit/gerrit/gerrit.war
cd uninstaller; make clean
server:
curl -o gerrit-$(WAR_VERSION).war https://gerrit-releases.storage.googleapis.com/gerrit-$(WAR_VERSION).war
mv gerrit-$(WAR_VERSION).war gerrit/gerrit/gerrit.war
pkgbuild --root ./gerrit --scripts scripts --identifier com.gerrit.gerrit --version 1 --install-location /private/var gerrit-installer.pkg
cd uninstaller; make
.PHONY: clean server