Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Play Activator templates

This project contains the built in Play Activator templates.

Developing

The templates are parameterised, which means you can't run them as is.

However, there is a sync-templates command that will sync them to a working directory where you can develop them. The most convenvient way to use this is to use triggered execution:

./build ~syncTemplates

Then in another window, you can test/run the template, for example, to run the play-scala template:

./buildTemplate play-scala run

Or you can even run activator in it:

./buildTemplate play-java ui

Now edit the template itself in this directory, and every time you save, the changes will be saved, the template processend and synced to the directory where activator is running.

Publishing

You can publish templates by running

./build publishTemplates

You can publish specific templates by using the templates command:

./build templates play-scala publishTemplates