-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
24 lines (23 loc) · 798 Bytes
/
Rakefile
File metadata and controls
24 lines (23 loc) · 798 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
begin
require 'bundler'
Bundler.setup :deploy
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "dm-metamapper"
gemspec.summary = "Code generating C++ ORM"
gemspec.description = "C++ API for databases created with DM. Hard typing, compile time checked queries."
gemspec.email = "jonah@honeyman.org"
gemspec.homepage = "http://github.com/jonuts/dm-metamapper"
gemspec.authors = ["Jonah Honeyman", "Omer Tamuz"]
end
rescue LoadError
puts "Jeweler not available. Install it with: gem install jeweler"
end
desc "local gem build and install"
task :local do
sh "rvm ree@drive"
sh "gem uninstall -a dm-metamapper"
sh "gem build dm-metamapper.gemspec"
version = File.read("VERSION").chomp
sh "gem install -l ./dm-metamapper-#{version}.gem"
end