Skip to content

Play plugin for Pants build system

Notifications You must be signed in to change notification settings

ActionIQ-OSS/play-pants

 
 

Repository files navigation

This repo builds Pants plugins to compile twirl and routes files into Scala libraries as part of using the Play framework.

There are 2 components:

  • Python pants plugin in src/python/**, used in AIQ here
  • JVM tool play-pants-tool, invoked by the plugin. It is published to s3 (see ./local_build.sh) and referenced by AIQ here.

An example of generating Twirl code: https://github.com/ActionIQ/aiq/blob/dbeadc72537da3f9be74c8a629da28c85373455c/src/twirl/BUILD#L1-L0

An example of generating Routes code: https://github.com/ActionIQ/aiq/blob/260f0a3ae8d1b897b059db4c5964c051516cf7de/src/routes/reverse/BUILD#L5-L4

About

Play plugin for Pants build system

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 46.6%
  • Shell 29.7%
  • Scala 19.3%
  • Starlark 4.4%