File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 2
2
vendor
3
3
/build
4
4
/temp
5
+ /tools
Original file line number Diff line number Diff line change
1
+ .PHONY : install-phive
2
+ install-phive :
3
+ mkdir tools; \
4
+ wget -O tools/phive.phar https://phar.io/releases/phive.phar; \
5
+ wget -O tools/phive.phar.asc https://phar.io/releases/phive.phar.asc; \
6
+ gpg --keyserver pool.sks-keyservers.net --recv-keys 0x9D8A98B29B2D5D79; \
7
+ gpg --verify tools/phive.phar.asc tools/phive.phar; \
8
+ chmod +x tools/phive.phar
9
+
10
+ .PHONY : setup
11
+ setup : install-phive
12
+ docker run -it --rm -v${PWD} :/opt/project -w /opt/project phpdoc/phar-ga:latest php tools/phive.phar install --force-accept-unsigned
13
+
14
+ .PHONY : test
15
+ test :
16
+ docker run -it --rm -v${PWD} :/opt/project -w /opt/project php:7.0 tools/phpunit
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <phive xmlns =" https://phar.io/phive" >
3
+ <phar name =" phpunit" version =" ^6.5.14" installed =" 6.5.14" location =" ./tools/phpunit" copy =" true" />
4
+ </phive >
You can’t perform that action at this time.
0 commit comments