-
Notifications
You must be signed in to change notification settings - Fork 581
Description
Description
I'd like a way to download dependencies of the build script without invoking anything else.
Scenario:
I want to add a new module nuget Fake.JavaScript.Npm.
Before I can add open Fake.JavaScript I need to have that dependency installed.
Repro steps
Please provide the steps required to reproduce the problem
-
Delete build.fsx.lock file
-
Run
fake.exe run build.fsx --help
With --help no target is invoked it does contain side effects however.
Expected behavior
I'd be nice if there were a fake.exe install to fetch the new dependency.
Possible Solutions
Option fake install
Similar to paket install. Open points: Would it write/update the intellisense file -> probably yes
Option fake update
Similar to paket update. Open points: Would it write/update the intellisense file -> probably yes
Option fake paket <..>
Will execute paket <..> (internally). And write/update intellisense files if needed?
Option fake compile
Will execute something similar to paket install (ie. add/download new packages), update intellisense files and compiling the script (without running it). fake run should be fast and cached afterwards.
This option could have additional parameters in the future:
fake compile --updateto update dependencies similar to deleting the lockfile andpaket updatefake compile --no-installto only compile and withoutpaket install