3 COMPOSER ?
= $(DOCKER
) composer
4 TAG
:= $(shell (git describe
--tags --match
=v
[0-9]* 2>/dev
/null || git tag
--sort=authordate | egrep ^v
[0-9] | tail
-n1
) | cut
-d.
-f-2
)
11 src
/ion
/\\\
:\\\ Contributing.md \
12 src
/ion
/\\\
:\\\ Security.md \
21 -unlink
$@
2>/dev
/null
25 $(TAG
): markdown | vendor
/bin
/ref2html
28 $(PHP
) $| ext-ion
/$@ src
33 markdown
: src
/ion.stub.php
$(SPECIAL_SRC
) | vendor
/bin
/stub2ref
36 src src
/ion src
/ion
/\\\
:\\\ Tutorial
:
38 src
/mdref.json
: mdref.json
39 -test -e
$@ || ln
$^
$@
40 src
/ion.stub.php
: ..
/ion.stub.php | src
41 -test -e
$@ || ln
$^
$@
42 src
/ion.md
: ..
/README.md | src
43 -test -e
$@ || ln
$^
$@
44 src
/ion
/\\\
:\\\ Contributing.md
: ..
/CONTRIBUTING.md | src
/ion
45 -test -e
$@ || ln
$^
$@
46 src
/ion
/\\\
:\\\ Security.md
: ..
/SECURITY.md | src
/ion
47 -test -e
$@ || ln
$^
$@
51 cp
-R tutorial
/* src
/ion
/
54 COMPOSER
= $(COMPOSER
) require m6w6
/mdref
:dev-master
58 docker-compose
-f docker
/compose.yml build php
59 docker-compose
-f docker
/compose.yml build composer
60 $(MAKE
) DOCKER
="docker-compose -f docker/compose.yml run --rm"
64 -rm -rf latest src vendor composer
* .composer