Actually added the tests!
This commit is contained in:
parent
77e66ed3b0
commit
315547aece
2 changed files with 23 additions and 0 deletions
10
runtests
Executable file
10
runtests
Executable file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
export PATH=env/bin:${PATH}
|
||||||
|
|
||||||
|
flake8 . --ignore=E128,E501 --exclude="node_modules,env"
|
||||||
|
|
||||||
|
npm test
|
||||||
|
|
13
scripts/run.sh
Normal file
13
scripts/run.sh
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
npm run lint
|
||||||
|
bash scripts/build-js.sh
|
||||||
|
bash scripts/distribute.sh
|
||||||
|
|
||||||
|
cd firefox/
|
||||||
|
jpm run -b /usr/bin/firefox
|
||||||
|
|
||||||
|
echo "Exiting..."
|
||||||
|
cd -
|
Reference in a new issue