mirror of
https://github.com/beijaflor-io/ghcjs-commonjs.git
synced 2024-09-11 16:25:25 +03:00
Improve makefile
This commit is contained in:
parent
0ac4dd4c69
commit
9153d50eac
25
Makefile
25
Makefile
@ -6,34 +6,59 @@ all: FORCE
|
||||
make failure
|
||||
make pandoc
|
||||
|
||||
make run-README
|
||||
make run-hello-world-example
|
||||
make run-hello-variable-name
|
||||
make run-fibonacci
|
||||
make run-failure
|
||||
make run-pandoc
|
||||
|
||||
README: FORCE
|
||||
cd ./README && stack build
|
||||
cd ./README && npm install
|
||||
|
||||
run-README: FORCE
|
||||
@echo "README ---------------------------------------------------------------"
|
||||
cd ./README && node ./js/index.js
|
||||
|
||||
hello-world-example: FORCE
|
||||
cd ./examples/hello-world && stack build
|
||||
cd ./examples/hello-world && npm install
|
||||
|
||||
run-hello-world-example: FORCE
|
||||
@echo "hello-world ----------------------------------------------------------"
|
||||
cd ./examples/hello-world && node ./index.js
|
||||
|
||||
hello-variable-name: FORCE
|
||||
cd ./examples/hello-variable-name && stack build
|
||||
cd ./examples/hello-variable-name && npm install
|
||||
|
||||
run-hello-variable-name: FORCE
|
||||
@echo "hello-variable-name --------------------------------------------------"
|
||||
cd ./examples/hello-variable-name && node ./index.js
|
||||
|
||||
fibonacci: FORCE
|
||||
cd ./examples/fibonacci && stack build
|
||||
cd ./examples/fibonacci && npm install
|
||||
|
||||
run-fibonacci: FORCE
|
||||
@echo "fibonacci ------------------------------------------------------------"
|
||||
cd ./examples/fibonacci && node ./index.js
|
||||
|
||||
failure: FORCE
|
||||
cd ./examples/failure && stack build
|
||||
cd ./examples/failure && npm install
|
||||
|
||||
run-failure: FORCE
|
||||
@echo "failure --------------------------------------------------------------"
|
||||
cd ./examples/failure && node ./index.js
|
||||
|
||||
pandoc: FORCE
|
||||
cd ./examples/pandoc && stack build
|
||||
cd ./examples/pandoc && npm install
|
||||
|
||||
run-pandoc: FORCE
|
||||
@echo "pandoc ---------------------------------------------------------------"
|
||||
cd ./examples/pandoc && node ./node-main.js
|
||||
|
||||
FORCE:
|
||||
|
Loading…
Reference in New Issue
Block a user