From 315547aece1e59a12437863b6367791db91fedeb Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 5 Oct 2015 15:37:09 +0100 Subject: [PATCH] Actually added the tests! --- runtests | 10 ++++++++++ scripts/run.sh | 13 +++++++++++++ 2 files changed, 23 insertions(+) create mode 100755 runtests create mode 100644 scripts/run.sh diff --git a/runtests b/runtests new file mode 100755 index 0000000..98fc955 --- /dev/null +++ b/runtests @@ -0,0 +1,10 @@ +#!/bin/bash + +set -e + +export PATH=env/bin:${PATH} + +flake8 . --ignore=E128,E501 --exclude="node_modules,env" + +npm test + diff --git a/scripts/run.sh b/scripts/run.sh new file mode 100644 index 0000000..5bc2f1c --- /dev/null +++ b/scripts/run.sh @@ -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 - \ No newline at end of file