Commit abb122a4 authored by Mike Greiling's avatar Mike Greiling

update rake tasks

parent 7c5d4942
...@@ -108,8 +108,7 @@ setup-test-env: ...@@ -108,8 +108,7 @@ setup-test-env:
stage: prepare stage: prepare
script: script:
- npm install - npm install
- bundle exec rake webpack:compile - bundle exec rake gitlab:assets:compile
- bundle exec rake gitlab:assets:compile 2>/dev/null
- bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init' - bundle exec ruby -Ispec -e 'require "spec_helper" ; TestEnv.init'
artifacts: artifacts:
expire_in: 7d expire_in: 7d
......
...@@ -3,6 +3,7 @@ namespace :gitlab do ...@@ -3,6 +3,7 @@ namespace :gitlab do
desc 'GitLab | Assets | Compile all frontend assets' desc 'GitLab | Assets | Compile all frontend assets'
task :compile do task :compile do
Rake::Task['assets:precompile'].invoke Rake::Task['assets:precompile'].invoke
Rake::Task['webpack:compile'].invoke
Rake::Task['gitlab:assets:fix_urls'].invoke Rake::Task['gitlab:assets:fix_urls'].invoke
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment