I want to build my app with custom run script. After 'activator stage' I get built app, with default run script.
So I need to replace default script with my own.
I need batch file like this:
@echo off
set "name=projectName"
activator clean stage || pause 1
del ".\target\universal\stage\bin\%name%.bat"
exit
But after calling 'activator clean stage' script automatically close, how can I solve this problem?
If you are using Windows then bat:
Where custom.bat is your bat that will be used for start the project. But better look at custom configuration of your project https://www.playframework.com/documentation/2.1.x/ProductionConfiguration