[yast-commit] <rest-service> eula : don't add to package IDE files and generated documentation (prevent some packaging problems)
ref: refs/heads/eula commit edb517651a3ab43efe4ae8f3f335f5c50967da6a Author: Josef Reidinger <jreidinger@suse.cz> Date: Thu Oct 1 13:59:53 2009 +0200 don't add to package IDE files and generated documentation (prevent some packaging problems) --- webservice-tasks/lib/tasks/package-local.rake | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/webservice-tasks/lib/tasks/package-local.rake b/webservice-tasks/lib/tasks/package-local.rake index 96ed0f9..481881b 100644 --- a/webservice-tasks/lib/tasks/package-local.rake +++ b/webservice-tasks/lib/tasks/package-local.rake @@ -22,6 +22,10 @@ Rake::PackageTask.new('www', :noversion) do |p| p.need_tar_bz2 = true p.package_dir = 'package' p.package_files.include('./**/*') + #don't add IDE files + p.package_files.exclude('./nbproject') + #don't add generated documentation. If you want have it in package, generate it fresh + p.package_files.exclude('./doc/app') p.package_files.exclude('./package') p.package_files.exclude('./coverage') p.package_files.exclude('./test') -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
Josef Reidinger