tasks/clevic.rake in clevic-0.13.0.b5 vs tasks/clevic.rake in clevic-0.13.0.b6

- old
+ new

@@ -1,11 +1,7 @@ -task :package => :ui - -desc "Update ChangeLog from the SVN log" -task :changelog do |t| - ARGV.shift - exec "svn2cl --break-before-msg -o ChangeLog #{ARGV.join(' ')}" +namespace :gem do + task :package => :ui end # generate a _ui.rb filename from a .ui filename def ui_rb_file( ui_file ) ui_file.gsub( /\.ui$/, '_ui.rb' ) @@ -68,10 +64,10 @@ ENV['RUBYLIB'] += ":#{File.expand_path('.')}/lib" exec "irb -Ilib -rclevic" end # generate tasks for all model definition files -MODELS_LIST = FileList.new( '**/*models.rb' ) +MODELS_LIST = FileList.new( 'models/**/*models.rb' ) def short_model( model_file ) Pathname.new( model_file ).basename.to_s.gsub( /_models.rb/, '' ) end