aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2020-03-06 15:11:12 +0000
committerYann Herklotz <git@yannherklotz.com>2020-03-06 15:11:12 +0000
commit75df0ab8508723ed171727727aa8e61e0cc25f94 (patch)
tree65241496c7aece132b0b6fc3f8888313d0e8a97b /scripts
parent04d0683a98cda28f8f56e3505ad358fa747dee1f (diff)
downloadverismith-75df0ab8508723ed171727727aa8e61e0cc25f94.tar.gz
verismith-75df0ab8508723ed171727727aa8e61e0cc25f94.zip
New travis build
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/scripts/build.sh b/scripts/build.sh
new file mode 100755
index 0000000..838b9a8
--- /dev/null
+++ b/scripts/build.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+
+if [[ -z $NIX ]]; then
+ if [[ $NIX -eq 0 ]]; then
+ cabal update
+ cabal build
+ else
+ nix-build
+ fi
+fi
+