dots-of-war/files/scripts/makeHaskellProject.sh
2020-10-30 22:02:38 +02:00

8 lines
160 B
Bash
Executable file

#! /bin/sh
stack new "$1"
cd "$1"
echo "cradle:\n stack:" >> hie.yaml
sed -i 's/^resolver: .*$/resolver: lts-15.0/' stack.yaml
stack setup
stack build --fast