Install tools, clone the repo and run tests and examples.
sudo apt install git g++ make ccache libsqlite3-dev git clone ssh://email@example.com/mys-lang/mys sudo python -m pip install -r mys/requirements.txt sudo python -m pip install coverage pylint cd mys make
The Mys project is built in Cygwin.
Install Cygwin. Required packages are
Start Cygwin and do the following one time setup.
ln -s /usr/bin/python3.8 /usr/bin/python python -m easy_install pip git clone ssh://firstname.lastname@example.org/mys-lang/mys python -m pip install -r mys/requirements.txt python -m pip install coverage pylint
Run tests and examples.
cd mys make
Tips and tricks
It’s usually a good idea to add a test in
and execute with
make test -j 8 ARGS="-k <pattern>.
Add positive and negative tests.
Build and run all tests in parallel with
make test-parallel -j 8.
Build and run all tests in parallel and all examples with
make -j 8.
htmlcov/index.html for code coverage.
make help shows a list of all available make targets.