Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
71 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
# Generated source files | ||
/generated/ | ||
|
||
# Files generated by the test suite | ||
/formatted.elm | ||
/_input.elm | ||
/_input2.elm | ||
/_stdout.txt | ||
*.tix | ||
/dist-newstyle/ | ||
|
||
# Files generated by the build system | ||
/.shake/ | ||
/_build/ | ||
/generated/ | ||
/_profile/ | ||
/dist-newstyle/ | ||
/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
#!/bin/bash | ||
set -euo pipefail | ||
|
||
if [ ! -f _build/build ]; then | ||
mkdir -p _build | ||
cabal new-install --lib shake | ||
PKG_ENV_FILE=_build/shake-package-env | ||
|
||
mkdir -p _build | ||
if ! grep -qs '^package-id shk-' "$PKG_ENV_FILE"; then | ||
echo "$0: installing shake" | ||
cabal v2-install --package-env "$PKG_ENV_FILE" --lib shake | ||
fi | ||
ghc --make Shakefile.hs -package shake -rtsopts -threaded -with-rtsopts=-I0 -outputdir=_build -o _build/build && _build/build "$@" | ||
ghc --make Shakefile.hs -package-env "$PKG_ENV_FILE" -rtsopts -threaded -with-rtsopts=-I0 -outputdir=_build -o _build/build | ||
_build/build "$@" |