diff options
| author | Luc Donnet | 2018-02-09 14:28:38 +0100 |
|---|---|---|
| committer | Luc Donnet | 2018-02-09 14:28:38 +0100 |
| commit | 8147a3bd838aaaa959c3f488c1bc9016a5401645 (patch) | |
| tree | 25cbce5607c3a51b272f245f4b434b3a9bf084ba | |
| parent | 771816d0afed06151084cfafa925abd97b19742d (diff) | |
| download | chouette-core-8147a3bd838aaaa959c3f488c1bc9016a5401645.tar.bz2 | |
Fix ci build chain for i18n:js:export to use rails environment test Refs #4126 @1
| -rw-r--r-- | lib/tasks/ci.rake | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index 6b3b1bc32..c46cf7416 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -35,6 +35,10 @@ namespace :ci do sh "RAILS_ENV=test bundle exec rake assets:precompile" end + task :i18n_js_export do + sh "RAILS_ENV=test bundle exec rake i18n:js:export" + end + task :jest do sh "node_modules/.bin/jest" unless ["CHOUETTE_JEST_DISABLED"] end @@ -56,4 +60,4 @@ namespace :ci do end desc "Run continuous integration tasks (spec, ...)" -task :ci => ["ci:setup", "ci:assets", "i18n:js:export", "spec", "ci:jest", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"] +task :ci => ["ci:setup", "ci:assets", "ci:i18n_js_export", "spec", "ci:jest", "cucumber", "ci:check_security", "ci:deploy", "ci:clean"] |
