diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-03-06 15:11:12 +0000 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-03-06 15:11:12 +0000 |
commit | 75df0ab8508723ed171727727aa8e61e0cc25f94 (patch) | |
tree | 65241496c7aece132b0b6fc3f8888313d0e8a97b /scripts | |
parent | 04d0683a98cda28f8f56e3505ad358fa747dee1f (diff) | |
download | verismith-75df0ab8508723ed171727727aa8e61e0cc25f94.tar.gz verismith-75df0ab8508723ed171727727aa8e61e0cc25f94.zip |
New travis build
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build.sh | 11 |
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 + |