Commit 044c871dd920e1d70b339ee6af69e51671c44108

Authored by Jacob Vosmaer
1 parent b4584bdc

Precompile assets during build

Showing 1 changed file with 1 additions and 0 deletions   Show diff stats
config/software/gitlab-core.rb
... ... @@ -37,6 +37,7 @@ build do
37 37 # build.
38 38 command "sed -i 's/.*REVISION.*/REVISION = \"#{version_guid.split(':').last[0,10]}\"/' config/initializers/2_app.rb"
39 39 bundle "install --without mysql development test --path=#{install_dir}/embedded/service/gem"
  40 + rake "assets:precompile", "RAILS_ENV" => "production"
40 41 command "mkdir -p #{install_dir}/embedded/service/gitlab-core"
41 42 command "#{install_dir}/embedded/bin/rsync -a --delete --exclude=.git/*** --exclude=.gitignore ./ #{install_dir}/embedded/service/gitlab-core/"
42 43 block do
... ...