forked from commercialhaskell/stack
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support multi line interpreter directive comments
Multi line block comments can now be used for additional stack arguments when stack is used as script interpreter. Like this: {- stack --verbosity silent --resolver lts-3.14 --install-ghc runghc --package random --package system-argv0 -} Newlines are ignored in the block comments. This allows for better formatting of longer commands. Previous single line format is supported as usual. The single line syntax now allows a missing space between comment marker and the start of command i.e. "--stack ..." too works now. Updated the guide with complete syntax and semantics. Closes commercialhaskell#1394
- Loading branch information
1 parent
0423980
commit ba9de17
Showing
2 changed files
with
135 additions
and
38 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