Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change 'play dist' output file name via command-line

Is it possible to change play dist output file name apart from modifying appName on Build.scala?

I'm trying to automate the creation of two different zip files from the same project tree, e.g.: myapp-production-1.0-SNAPSHOT.zip and myapp-integration-1.0-SNAPSHOT.zip.

Thank you very much!

like image 850
Eduardo Sztokbant Avatar asked Aug 07 '13 13:08

Eduardo Sztokbant


1 Answers

For Play Framework 2.4 changing the name of the output file worked like this in build.sbt:

packageName in Universal := "dist"
like image 72
markus Avatar answered Sep 30 '22 05:09

markus