dots-of-war/files/scripts/makeHaskellProject.sh

9 lines
164 B
Bash
Raw Normal View History

2020-06-21 10:41:26 +00:00
#!/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