Skip to content

Instantly share code, notes, and snippets.

@marc0der
Created November 22, 2012 15:55
Show Gist options
  • Save marc0der/4131836 to your computer and use it in GitHub Desktop.
Save marc0der/4131836 to your computer and use it in GitHub Desktop.
Switches gvm to use the correct version of grails for the current project.
alias switch='cat application.properties | grep app.grails.version | sed "s_app.grails.version=__g" | xargs gvm use grails'
@bryanchug
Copy link

xargs can't see gvm :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment