A peer-to-peer stack for code collaboration
Added a script to run all the tests on CI locally.
Luke Palmere3a28b0cdd59
diff --git a/scripts/ci-tests.sh b/scripts/ci-tests.shnew file mode 100755index 0000000..4eb9216--- /dev/null+++ b/scripts/ci-tests.sh@@ -0,0 +1,13 @@+#!/usr/bin/env bash++# Run all the tests that are run by CI (but without using local docker because+# how does a mortal even set that up!?)++set -e -x+BASEDIR=$(dirname $BASH_SOURCE)/..+cd $BASEDIR+hothasktags -XLambdaCase -XTypeFamilies -XScopedTypeVariables -XFunctionalDependencies -XTupleSections -XExplicitNamespaces -XStandaloneDeriving -XDefaultSignatures -R src > TAGS+stack exec hlint .+./scripts/check-fmt.sh+stack test --fast+stack exec radicle-ref-doc