From a52cf85c0811d8bfd77b96676873550d0910da30 Mon Sep 17 00:00:00 2001 From: Steve Strassmann Date: Fri, 10 May 2013 14:50:49 -0400 Subject: [PATCH] rake task dependency for transifex --- rakefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/rakefile b/rakefile index cf9363d47b..04a7db4904 100644 --- a/rakefile +++ b/rakefile @@ -562,15 +562,13 @@ namespace :i18n do namespace :transifex do desc "Push source strings to Transifex for translation" - task :push do - Rake::Task["i18n:validate:transifex_config"].execute + task :push => "i18n:validate:transifex_config" do cmd = File.join(REPO_ROOT, "i18n", "transifex.py") sh("#{cmd} push") end desc "Pull translated strings from Transifex" - task :pull do - Rake::Task["i18n:validate:transifex_config"].execute + task :pull => "i18n:validate:transifex_config" do cmd = File.join(REPO_ROOT, "i18n", "transifex.py") sh("#{cmd} pull") end