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

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -