This repository has been archived by the owner on Sep 26, 2020. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 54
Aliases
Greg R edited this page Apr 24, 2020
·
2 revisions
Aliases let user define custom "shortcuts" for Forge commands, adding possibility of making Forge working better with personal workflows.
Aliases are defined using TOML file:
[alias]
test='fake RunTests'
build-test='fake BuildTest'
Keys defines new command, values define what will be executed (so for above example calling forge test
will result in running forge fake RunTests
.
Here is set of default aliases used built into Forge:
[alias]
build='fake'
test='fake Test'
release='fake Release'
install='paket install'
update='paket update'
Aliases can be defined in 2 places:
- Global installation - you need to put
Forge.toml
file containing list of aliases next to global installation of Forge.exe - Repository - you need to put
Forge.toml
file in repository root.
Aliases for smaller scopes can override aliases from more general scope (global aliases can override default, local overrides both default and global) in case of using same key.