batch file - Play Framework 2.4.x custom deploy script -


i want build app custom run script. after 'activator stage' built app, default run script.

so need replace default script own.

i need batch file 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 solve problem?

if using windows bat:

@echo off activator clean stage copy custom.bat c:\target\universal\stage\bin\myproject.bat 

where custom.bat bat used start project. better @ custom configuration of project https://www.playframework.com/documentation/2.1.x/productionconfiguration


Comments

Popular posts from this blog

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

php - Find a regex to take part of Email -