-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I wanted to set up a custom script to ensure a specific ruby version and run my ruby tests.
However, when the scripts are run there are no bash variables imported.
So after a while I figure out I could do something similar to this:
bash --login -c "rvm use 1.9.3; bundle exec rspec"
If the strider-custom.json could also contain a shell arguments and shell option that could be used in process I'm free to choose my own shell and thus be able to import variables based on the user running strider. Making it much easier to start using Strider with other languages.
example:
{
"command": 'bash',
"args": ['-x', '-c', '--login', command]
"prepare": "echo executed prepare statement!",
"test": "echo executed deploy statement!",
"deploy": "echo deploy && git push heroku master --force"
}
In theory this could also open up for use with other environments such as powershell on Windows.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels