Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
525f9668
Commit
525f9668
authored
Dec 16, 2015
by
Ben Gamari
🐢
Browse files
Add build.sh for building on Posix platforms
parent
bf75f422
Changes
1
Hide whitespace changes
Inline
Side-by-side
build.sh
0 → 100755
View file @
525f9668
#!/bin/bash -e
root
=
`
dirname
$0
`
mkdir
-p
$root
/_shake
ghc
--make
-Wall
$root
/src/Main.hs
-i
$root
/src
-rtsopts
-with-rtsopts
=
-I0
-outputdir
=
$root
/_shake
-o
$root
/_shake/build
$root
/_shake/build
--lint
--directory
$root
/..
$@
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment