Skip to content

Commit

Permalink
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tool/truffle/set_truffle_version.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

sed -i '.orig' "s/ truffle_version = '.*'/ truffle_version = '$1'/g" truffle/pom.rb

4 comments on commit 90061ea

@eregon
Copy link
Member

@eregon eregon commented on 90061ea Mar 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should totally be written in Ruby! 😃 (well, except that backup feature but the SCM should be good enough for that)

@chrisseaton
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It needs to run in CI before we've built anything and we don't always have a Ruby then.

Sorry, something went wrong.

@eregon
Copy link
Member

@eregon eregon commented on 90061ea Mar 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, I thought it was a dev-only thing.

Sorry, something went wrong.

@chrisseaton
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See oracle/graal#101 which uses it.

Please sign in to comment.