-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile
48 lines (40 loc) · 2.5 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
install:
docker-compose run --rm php composer install
test: install
# docker-compose run --rm node bash -c "cd ./tests/javascript && npm install"
docker-compose run --rm php composer test-coverage
docker-compose run --rm php composer coveralls
markdown:
docker-compose run --rm php bash -c "cd ./examples/markdown && composer install"
docker-compose run --rm node bash -c "cd ./examples/markdown && npm install"
docker-compose run --rm php bash -c "time php ./examples/markdown/parsedown.php"
docker-compose run --rm php bash -c "time php ./examples/markdown/marked.php"
docker-compose run --rm node bash -c "time node ./examples/markdown/marked.js"
docker-compose run --rm php bash -c "time php ./examples/markdown/markdown-it.php"
docker-compose run --rm node bash -c "time node ./examples/markdown/markdown-it.js"
vue-simple:
docker-compose run --rm node bash -c "cd ./examples/vue-simple && npm install && npm run build"
docker-compose run --rm php bash -c "time php ./examples/vue-simple/test.php"
docker-compose run --rm node bash -c "time node ./examples/vue-simple/test.js"
vue-router:
docker-compose run --rm node bash -c "cd ./examples/vue-router && npm install && npm run build"
docker-compose run --rm php bash -c "time php ./examples/vue-router/test.php"
docker-compose run --rm node bash -c "time node ./examples/vue-router/test.js"
react-router:
docker-compose run --rm node bash -c "cd ./examples/react-router && npm install && npm run build"
docker-compose run --rm php bash -c "time php ./examples/react-router/test.php"
docker-compose run --rm node bash -c "time node ./examples/react-router/test.js"
liquidjs:
docker-compose run --rm php bash -c "cd ./examples/liquidjs && composer install"
docker-compose run --rm node bash -c "cd ./examples/liquidjs && yarn install && yarn liquidjs"
docker-compose run --rm php bash -c "time php ./examples/liquidjs/liquid.php"
docker-compose run --rm node bash -c "time node ./examples/liquidjs/liquid.js"
docker-compose run --rm php bash -c "time php ./examples/liquidjs/twig.php"
yaml:
docker-compose run --rm php bash -c "cd ./examples/yaml && composer install"
docker-compose run --rm node bash -c "cd ./examples/yaml && yarn install"
docker-compose run --rm php bash -c "time php ./examples/yaml/yaml.php"
docker-compose run --rm node bash -c "time node ./examples/yaml/yaml.js"
docker-compose run --rm php bash -c "time php ./examples/yaml/symfony.php"
example: install markdown vue-simple vue-router react-router liquidjs yaml
docker-compose up -d nginx