Mercurial > evolve
view docs/tutorial/compile.sh @ 4332:9980df8eda98 stable
tests: fix PYTHONPATH manipulation on Windows
Without the semicolon separator and quotes, the variables ends up like this:
c:\Users\Matt\projects\hg-evolve:c:\Users\Matt\projects\hg-evolve:
c:\Users\Matt\projects\hg;c:\Users\Matt\projects\hg-evolve\tests;
c:\Users\Matt\projects\hg\tests
That in turn makes the local evolve code unreachable, and the system installed
code is tested instead.
I'm testing against `uname` instead of a trivial python script printing os.name
because maybe one day tests will run on WSL.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 04 Jan 2019 18:46:46 -0500 |
parents | aad37ffd7d58 |
children |
line wrap: on
line source
#!/bin/bash set -eox pipefail function compile { pandoc \ -s $1 \ -o $2 \ --toc --toc-depth=4 \ -F pandocfilters/examples/graphviz.py -F mypandocfilters/graphviz-file.py -F mypandocfilters/raw-file.py \ -t html5 \ --template standalone.html --variable=template_css:uikit.css } compile slides.md index.html