Commit Graph

8 Commits

Author SHA1 Message Date
Jay Adkisson
dd15137e41 escape quotes for bash, furrealz this time
Any parameter in a job type template which is surrounded by quotes
will now be auto-escaped.

Examples:

job_type :foo, :template => "/my/cool/bin ':bar'"

every :day do
  foo %(single quote! -> ' <-)
end

will render to

@daily /my/cool/bin 'single quote! -> '\'' <-'
2010-07-03 22:55:32 +08:00
Javan Makhmali
f31148d27d adds user definable job types and uses the new API for these to define the original command, runner, and rake commands 2010-06-28 15:14:01 -04:00
Michael Guterl
cd92f1f4f1 In order to use bundler you must change to the directory where Gemfile exists
* Change runner command to cd to directory prior to running script/runner
2010-04-26 22:41:09 +08:00
Sam Ruby
92e727c09e Fixed a bug involving double quotes and runner
Signed-off-by: Javan Makhmali <javan@javan.us>
2009-07-14 03:06:04 +08:00
Javan Makhmali
c1bc0ab1b9 Added ability to set variabled on-the-fly from the command line 2009-06-02 12:26:15 +02:00
Javan Makhmali
bf9fb1d6c1 Got rid of already initialized constant warning. Improved version code. Improved test load paths. Bumped to 0.1.2 2009-02-16 18:32:55 -08:00
Javan Makhmali
01b7b81a10 Added RakeTask job type and helper and refactored the job types. Cleaned up and added tests. 2009-02-16 16:22:37 -08:00
Javan Makhmali
d2eec9f94a Initial commit. 2009-02-15 19:24:10 -08:00