fsprojects / FsBlog

Blog aware, static site generation using F#.
http://fsprojects.github.io/FsBlog
132 stars 47 forks source link

Wrong argument order for mono FAKE exe? #55

Closed theimowski closed 8 years ago

theimowski commented 8 years ago

Currently the script name fsblog.fsx comes as last argument: mono --runtime=v4.0 packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO fsblog.fsx however usage for FAKE specifies that scipt path comes first:

tomasz@theimowski-ubuntu:~/github/FsBlog$ mono packages/FAKE/tools/FAKE.exe --help
-------------------
 FAKE usage
-------------------

    fake.exe [<scriptPath>] [<targetName>] [options]
cdrnet commented 8 years ago

Yes, it is indeed wrong in the non-Windows case in both build and fake. Thanks!

cdrnet commented 8 years ago

We should fix it, but is it as is actually broken in your case? Turns out I've used the wrong order for years in all my projects without any problems.

theimowski commented 8 years ago

Yeah I tried to type

./fake new post="title"

But got error msg indicating there is no "new" target, so I ended up calling FAKE directly with different arg order