Skip to content

Instantly share code, notes, and snippets.

@bobbyno
Created February 9, 2013 07:04
Show Gist options
  • Save bobbyno/4744433 to your computer and use it in GitHub Desktop.
Save bobbyno/4744433 to your computer and use it in GitHub Desktop.
Use your Heroku .env settings to initialize environment variables available within a Groovy shell.
#!/usr/bin/env bash
eval "$(tr '\n' ' ' < .env)mvn groovy:shell"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment