rakeã¿ã¹ã¯å ã§å¥ã®ã¿ã¹ã¯ãå¼ã³ãããªã¼ã¨æã調ã¹ã¦ã¿ãã Rake::Task#invokeã¨Rake::Task#executeã®2éãã®å¼ã³åºãæ¹ãããã¿ããã å®éã«ä½¿ã£ã¦ã¿ãã¨å¼æ°ã®æ±ãæ¹ãéã£ã¦ãã¦ããã£ãã®ã§ã¡ã¢ãã¦ããã åèï¼ http://stackoverflow.com/questions/577944/how-to-run-rake-tasks-from-within-rake-tasks 試ãã«ãããªã¿ã¹ã¯ãæ¸ãã¦ã¿ã namespace :mytask do task :hello, [:person] do |t, args| puts "hello #{args.person}" end task :execute_hello_to_paty do |t, args| Rake::Task["mytask:hello"].execute("paty")
{{#tags}}- {{label}}
{{/tags}}