diff options
| author | Florent Peyraud | 2017-12-19 11:02:34 +0100 | 
|---|---|---|
| committer | Alban Peignier | 2018-01-07 23:22:20 +0100 | 
| commit | 9dd63f3bca947e0f770df74c18950848313eb716 (patch) | |
| tree | aed938a901edf14478a5822ed9f45289410ba998 | |
| parent | 611b3e26b4fba91f7fcdd6a0ecb5f41ed7fba0f0 (diff) | |
| download | chouette-core-9dd63f3bca947e0f770df74c18950848313eb716.tar.bz2 | |
disable sqlite and tune install task
| -rw-r--r-- | Gemfile | 2 | ||||
| -rw-r--r-- | Gemfile.lock | 2 | ||||
| -rw-r--r-- | lib/tasks/install.rake | 6 | 
3 files changed, 5 insertions, 5 deletions
| @@ -60,7 +60,7 @@ gem 'faraday', '~> 0.9.1'  platforms :ruby do    gem 'therubyracer', '~> 0.12'    gem 'pg' -  gem 'sqlite3' +  #gem 'sqlite3'  end  gem 'activerecord-postgis-adapter', "~> 3.0.0" diff --git a/Gemfile.lock b/Gemfile.lock index d93d2b3d7..714523704 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -523,7 +523,6 @@ GEM        actionpack (>= 3.0)        activesupport (>= 3.0)        sprockets (>= 2.8, < 4.0) -    sqlite3 (1.3.13)      teaspoon (1.1.5)        railties (>= 3.2.5, < 6)      teaspoon-jasmine (2.3.4) @@ -688,7 +687,6 @@ DEPENDENCIES    slim-rails (~> 3.1)    spring    spring-commands-rspec -  sqlite3    teaspoon-jasmine    therubyracer (~> 0.12)    timecop diff --git a/lib/tasks/install.rake b/lib/tasks/install.rake index c5cfd3cde..22a493a62 100644 --- a/lib/tasks/install.rake +++ b/lib/tasks/install.rake @@ -32,8 +32,10 @@ task :pkg4docker do    sh "git archive --format=tar --output=tmp/package/stif-boiv-release-#{release_name}.tar HEAD"    sh "bundle package --all" -  sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:clobber RAILS_ENV=production" -  sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:precompile RAILS_ENV=production" +#  sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:clobber RAILS_ENV=production" +#  sh "RAILS_DB_ADAPTER=nulldb bundle exec rake assets:precompile RAILS_ENV=production" +  sh "bundle exec rake assets:clobber RAILS_ENV=production" +  sh "bundle exec rake assets:precompile RAILS_ENV=production"    sh "tar -rf tmp/package/stif-boiv-release-#{release_name}.tar vendor/cache"    sh "tar -rf tmp/package/stif-boiv-release-#{release_name}.tar public/assets" | 
