nemesis 2009.6.14.1 → 2009.6.14.2
raw patch · 4 files changed
+17/−8 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- changelog.md +7/−0
- nemesis.cabal +1/−1
- readme.md +8/−6
- src/System/Nemesis/Runner.hs +1/−1
changelog.md view
@@ -1,3 +1,10 @@+2009.6.14.2+-----------++### Feature++* nemesis bin rename to `.nemesis`, this keeps working directory clean+ 2009.6.14.1 -----------
nemesis.cabal view
@@ -1,5 +1,5 @@ Name: nemesis-Version: 2009.6.14.1+Version: 2009.6.14.2 Build-type: Simple Synopsis: a rake like task management tool Description:
readme.md view
@@ -51,18 +51,18 @@ run `nemesis` -It will generate a bin `nem` inside your current folder.+It will generate a bin `.nemesis` inside your current folder. ### Run -run `./nem`+run `./.nemesis` learn-fp: learn Functional Programming learn-haskell: learn Haskell learn-lisp: learn LISP -run `./nem learn-haskell`+run `./.nemesis learn-haskell` LISP is cool! into FP@@ -87,7 +87,7 @@ ### Build it yourself -Example:+If you don't want `nemesis` to compile `Nemesis` through intermediate `nemesis-tmp.hs` file, rename your `Nemesis` to `Nemesis.hs`, then start with this template. import System.Nemesis (run) import System.Nemesis.DSL@@ -97,9 +97,11 @@ main = run nemesis +The logic is that whenever `main` is defined in `Nemesis.hs`, `nemesis` will act as `ghc --make` wrapper, so you can get nice error messages.+ Hint ---- -Save typing by aliasing `./nes` to `n`, i.e. inside `.your_shellrc`+Save typing by aliasing `./.nemesis` to `n`, i.e. inside `.your_shellrc` - alias n="./nes"+ alias n="./.nemesis"
src/System/Nemesis/Runner.hs view
@@ -49,7 +49,7 @@ tmp_name = "nemesis-tmp.hs" tmp_o = "nemesis-tmp.o" tmp_hi = "nemesis-tmp.hi"- bin = "nem"+ bin = ".nemesis" src_base_name s = if s.ends_with ".hs" then s.reverse.drop 3.reverse else s