From 05d50513ab3c38b690c580cd0631345ff658e59a Mon Sep 17 00:00:00 2001 From: Taylor Hornby Date: Sat, 8 Oct 2016 08:28:59 -0400 Subject: [PATCH] Separate build-phar from sign-phar --- dist/Makefile | 2 +- docs/InternalDeveloperDocs.md | 24 ++++++++++++++++++++++-- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/dist/Makefile b/dist/Makefile index 15b2494..e9a9f4d 100644 --- a/dist/Makefile +++ b/dist/Makefile @@ -5,7 +5,7 @@ box := $(shell which box) composer := "composer" .PHONY: all -all: sign-phar +all: build-phar .PHONY: sign-phar sign-phar: build-phar diff --git a/docs/InternalDeveloperDocs.md b/docs/InternalDeveloperDocs.md index 3cac722..3fe41d4 100644 --- a/docs/InternalDeveloperDocs.md +++ b/docs/InternalDeveloperDocs.md @@ -94,11 +94,31 @@ Check out the branch you want to release: git checkout ``` -Generate and sign the `.phar`: +Run the tests: + +``` +./test.sh +``` + +Generate the `.phar`: + +``` +cd dist +make build-phar +``` + +Test the `.phar`: + +``` +cd ../ +./test.sh dist/defuse-crypto.phar +``` + +Sign the `.phar`: ``` cd dist -make +make sign-phar ``` Tag the release: