Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
f30f6207
Commit
f30f6207
authored
May 10, 2013
by
Steve Strassmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean up rakefile syntax for task dependencies
parent
35d72f30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
6 deletions
+3
-6
rakefile
+3
-6
No files found.
rakefile
View file @
f30f6207
...
...
@@ -513,14 +513,12 @@ end
namespace
:i18n
do
desc
"Extract localizable strings from sources"
task
:extract
do
Rake
::
Task
[
"i18n:validate:gettext"
].
execute
task
:extract
=>
"i18n:validate:gettext"
do
sh
(
File
.
join
(
REPO_ROOT
,
"i18n"
,
"extract.py"
))
end
desc
"Compile localizable strings from sources. With optional flag 'extract', will extract strings first."
task
:generate
do
Rake
::
Task
[
"i18n:validate:gettext"
].
execute
task
:generate
=>
"i18n:validate:gettext"
do
if
ARGV
.
last
.
downcase
==
'extract'
Rake
::
Task
[
"i18n:extract"
].
execute
end
...
...
@@ -579,8 +577,7 @@ namespace :i18n do
end
desc
"Run tests for the internationalization library"
task
:test
do
Rake
::
Task
[
"i18n:validate:gettext"
].
execute
task
:test
=>
"i18n:validate:gettext"
do
test
=
File
.
join
(
REPO_ROOT
,
"i18n"
,
"tests"
)
sh
(
"nosetests
#{
test
}
"
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment