Skip to content

Instantly share code, notes, and snippets.

@lstoll
Created September 13, 2011 06:33
Show Gist options
  • Save lstoll/1213260 to your computer and use it in GitHub Desktop.
Save lstoll/1213260 to your computer and use it in GitHub Desktop.
Play framework pulling modules directly from GitHub
## Sadly this doesn't work yet, because the github zipball includes the content in a sub dir, rather than the root dir.
## So you end up with: ls modules/scala-0.9.1/lstoll-play-scala-6290346/
# Application dependencies
require:
- play
- play -> crud
# Version number can be a tag or a branch
- com.github.playframework -> scala 0.9.1
# For example, to check out the HEAD of the scala module
# - com.github.playframework -> scala master
repositories:
- playframework_github:
type: http
# Need to add the ?ext=.zip so play detects it as a module zip, rather than a JAR
artifact: "https://github.com/playframework/play-[module]/zipball/[revision]?ext=.zip"
contains:
- com.github.playframework -> *
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment