Skip to content

Commit

Permalink
Add gpg signing rule in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
c9s committed Dec 7, 2015
1 parent da6917d commit 8809fc9
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 4 deletions.
13 changes: 9 additions & 4 deletions Makefile
Expand Up @@ -9,7 +9,7 @@ TEST = phpunit

.PHONY: build

build:
build/phpbrew:
php bin/phpbrew compile \
--lib src \
--lib vendor/corneltek/cliframework/src \
Expand All @@ -29,9 +29,14 @@ build:
--executable \
--no-compress \
--output $(OUTPUT)
$(COPY) $(OUTPUT) $(TARGET)
$(COPY) $(OUTPUT) build/phpbrew
$(PERMISSION) $(TARGET)
$(COPY) $(OUTPUT) $(TARGET)
$(COPY) $(OUTPUT) build/phpbrew
$(PERMISSION) $(TARGET)

build: build/phpbrew

sign: build
gpg --armor --detach-sign build/phpbrew

install:
$(SUDOCP) $(TARGET) $(INSTALL_PATH)
Expand Down
Binary file modified phpbrew
Binary file not shown.
10 changes: 10 additions & 0 deletions phpbrew.asc
@@ -0,0 +1,10 @@
-----BEGIN PGP SIGNATURE-----

iQEcBAABCAAGBQJWZUfhAAoJED2CCGF/5sz28NUH/1vH/4C81PFKair7UR/t59D1
7mcxympHnjC6rVRjLyu2eJ3AK0rqb3Ele/BV/q53nfsvaAyMy6LIT9MZyoApo5pT
qaYrjcHYSyq7q2geuViPkmvlFsBdep7tROfsubplvD3gisQm1aUjaLy/Siz8drfB
xS0bsf2mwF86phmnNfnqi9zC7tOBhqQpV4O8uTsHj3pz1IyHq7gIKSuMLH6kWOsh
LS0G/Ldwk7sqk3WAV7UtcGZwu/8q4R6RG5MNIzq8OUS3hy1BINa9sW+R7E/Ijgk0
M9ctpNIPZwGihMrbpqIF32jeAjmow3xGoPTzFzGDKxk+G20Ek2Dci2Txh7YK0Fo=
=wWVQ
-----END PGP SIGNATURE-----

0 comments on commit 8809fc9

Please sign in to comment.