dots-of-war/files/scripts/makeHaskellProject.sh
2020-05-10 22:27:15 +02:00

8 lines
164 B
Bash
Executable file

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