Skip to content

Commit

Permalink
Add build defs for ghc and stack...
Browse files Browse the repository at this point in the history
The Stack build definition probably doens't work with template Haskell or multi-package projects. Needs testing.
  • Loading branch information
friedbrice committed Sep 23, 2018
1 parent 89192bb commit a854a16
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Haskell-no-code.sublime-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"shell_cmd": "ghc -fno-code \"$file\"",
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.haskell"
}
5 changes: 5 additions & 0 deletions Haskell-stack.sublime-build
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"shell_cmd": "stack exec ghc -- -fno-code \"$file\"",
"file_regex": "^(...*?):([0-9]*):?([0-9]*)",
"selector": "source.haskell"
}

0 comments on commit a854a16

Please sign in to comment.