projects
/
rnaseq-cwl-training.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
901c574
)
Added PYTHON variable to define executable to run python scripts
author
Joao Rodrigues <j.p.g.l.m.rodrigues@gmail.com>
Wed, 4 Dec 2019 22:43:59 +0000
(16:43 -0600)
committer
Joao Rodrigues <j.p.g.l.m.rodrigues@gmail.com>
Wed, 4 Dec 2019 22:43:59 +0000
(16:43 -0600)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index d291abe66d616bd33e28aec4551ab9e8f36b0cad..8fc7d806394c430b8bd74af8e0df99449801cecf 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-7,6
+7,7
@@
JEKYLL=jekyll
JEKYLL_VERSION=3.8.5
PARSER=bin/markdown_ast.rb
DST=_site
JEKYLL_VERSION=3.8.5
PARSER=bin/markdown_ast.rb
DST=_site
+PYTHON=python3
# Controls
.PHONY : commands clean files
# Controls
.PHONY : commands clean files
@@
-54,7
+55,7
@@
clean-rmd :
## workshop-check : check workshop homepage.
workshop-check :
## workshop-check : check workshop homepage.
workshop-check :
-
@
bin/workshop_check.py .
+
${PYTHON}
bin/workshop_check.py .
## ----------------------------------------
## Commands specific to lesson websites.
## ----------------------------------------
## Commands specific to lesson websites.
@@
-93,15
+94,15
@@
_episodes/%.md: _episodes_rmd/%.Rmd
## lesson-check : validate lesson Markdown.
lesson-check : lesson-fixme
## lesson-check : validate lesson Markdown.
lesson-check : lesson-fixme
-
@
bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md
+
${PYTHON}
bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md
## lesson-check-all : validate lesson Markdown, checking line lengths and trailing whitespace.
lesson-check-all :
## lesson-check-all : validate lesson Markdown, checking line lengths and trailing whitespace.
lesson-check-all :
-
@
bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md -l -w --permissive
+
${PYTHON}
bin/lesson_check.py -s . -p ${PARSER} -r _includes/links.md -l -w --permissive
## unittest : run unit tests on checking tools.
unittest :
## unittest : run unit tests on checking tools.
unittest :
-
@
bin/test_lesson_check.py
+
${PYTHON}
bin/test_lesson_check.py
## lesson-files : show expected names of generated files for debugging.
lesson-files :
## lesson-files : show expected names of generated files for debugging.
lesson-files :