1 task :default => [:test]
3 PKG_NAME = "file-column"
6 PKG_DIR = "release/#{PKG_NAME}-#{PKG_VERSION}"
12 task :setup_directories do
17 task :checkout_release => :setup_directories do
19 revision = ENV["REVISION"] || "HEAD"
20 sh "svn export -r #{revision} . #{PKG_DIR}"
23 task :release_docs => :checkout_release do
24 sh "cd #{PKG_DIR}; rdoc lib"
27 task :package => [:checkout_release, :release_docs] do
28 sh "cd release; tar czf #{PKG_NAME}-#{PKG_VERSION}.tar.gz #{PKG_NAME}-#{PKG_VERSION}"
32 sh "cd test; ruby file_column_test.rb"
33 sh "cd test; ruby file_column_helper_test.rb"
34 sh "cd test; ruby magick_test.rb"
35 sh "cd test; ruby magick_view_only_test.rb"