-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRakefile
28 lines (24 loc) · 969 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require 'rubygems'
require 'rake'
require 'rake/testtask'
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "maml"
gemspec.summary = "Migration Apathy Markup Language"
gemspec.description = "MAML, also know as LazyMAML is a terser means for initially modeling your rails app. The MAML yml file is processed, and the rails migration generator called, with arguments being passed through for scaffold, model, controller, haml, etc. as desired."
gemspec.email = "[email protected]"
gemspec.homepage = "http://github.com/vanweerd/maml"
gemspec.authors = ["Nick Van Weerdenburg"]
gemspec.files.include %w(lib/maml/maml.yml)
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install jeweler"
end
Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each{|ext| load ext}
Rake::TestTask.new do |t|
t.libs << 'test'
end
desc "Run tests"
task :default => :test