diff options
| author | mo khan <mo@mokhan.ca> | 2015-06-07 09:31:06 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-06-07 09:31:06 -0600 |
| commit | 01c7e7205186e7aa3bb2fb42cceb6b2efe88a7dc (patch) | |
| tree | 74e9fb207b7e95f5d40191ac919b3f55c7b2694e | |
| parent | 63e177514c3591d9c356f94ad8bf0f22f92f5cf8 (diff) | |
include app/assets in package.
| -rw-r--r-- | config/deploy.rb | 1 | ||||
| -rw-r--r-- | lib/tasks/package.rake | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/config/deploy.rb b/config/deploy.rb index 9dda84d..34b6e78 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -40,7 +40,6 @@ set :linked_dirs, fetch(:linked_dirs, []).push( "tmp/sockets", "vendor/bundle", "public/system", - "public/assets", ) # Default value for default_env is {} diff --git a/lib/tasks/package.rake b/lib/tasks/package.rake index c93c0fd..178c0fd 100644 --- a/lib/tasks/package.rake +++ b/lib/tasks/package.rake @@ -7,7 +7,7 @@ namespace :package do Rake::PackageTask.new("stronglifters", version) do |package| package.need_tar_gz = true package.package_files.add %w( - app/**/**/* + app/**/* config/**/* db/**/* lib/**/* @@ -21,7 +21,7 @@ namespace :package do config.ru ) package.package_files.exclude do |path| - path.start_with?("app/assets/") || path.start_with?("config/deploy") + path.start_with?("config/deploy") end end Rake::Task["repackage"].invoke |
