Skip to content

Commit 2ada6d6

Browse files
authored
Merge pull request #304 from defuse/separate-phar-signing
Separate build-phar from sign-phar
2 parents cf49a33 + 05d5051 commit 2ada6d6

File tree

2 files changed

+23
-3
lines changed

2 files changed

+23
-3
lines changed

dist/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ box := $(shell which box)
55
composer := "composer"
66

77
.PHONY: all
8-
all: sign-phar
8+
all: build-phar
99

1010
.PHONY: sign-phar
1111
sign-phar: build-phar

docs/InternalDeveloperDocs.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,31 @@ Check out the branch you want to release:
9494
git checkout <branchname>
9595
```
9696

97-
Generate and sign the `.phar`:
97+
Run the tests:
98+
99+
```
100+
./test.sh
101+
```
102+
103+
Generate the `.phar`:
104+
105+
```
106+
cd dist
107+
make build-phar
108+
```
109+
110+
Test the `.phar`:
111+
112+
```
113+
cd ../
114+
./test.sh dist/defuse-crypto.phar
115+
```
116+
117+
Sign the `.phar`:
98118

99119
```
100120
cd dist
101-
make
121+
make sign-phar
102122
```
103123

104124
Tag the release:

0 commit comments

Comments
 (0)