sbt - How to pass configuration through aliases .sbtrc -
I would like to create a nickname in the sbtrc with a config file that needs to be used.
For pre:
alias run-web-dev =; Web; ~ run -Dconfig.resource = dev.conf alias run-web-qa =; Web; ~ run -Dconfig.resource = qa.conf so that I just
./actor run-web-dev to dev.conf and ./activator Can run run to run-web Is this possible?
Thanks
You can set your nickname in the following:
addCommandAlias ("run-web-dev", "; web; ~ run -Dconfconf resource = dev.conf")
Comments
Post a Comment