conyard 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
data/bin/conyard CHANGED
@@ -3,6 +3,7 @@
3
3
  require 'rubygems' if RUBY_VERSION < '1.9'
4
4
  require 'rake'
5
5
 
6
+ $OLDDIR = Dir.pwd
6
7
  Dir.chdir File.expand_path(File.join(File.dirname(__FILE__),'..'))
7
8
 
8
9
  Rake.application.run
@@ -19,6 +19,6 @@ namespace :generate do
19
19
  desc "Creates a new fast, lean C vector implementation; useage is: rake vector[name, type, outfile]"
20
20
  task :vector, :name, :datatype, :outfile do |t, args|
21
21
  args.with_defaults(:name => 'int_vector', :datatype => 'int', :outfile => 'int_vector')
22
- emit_vector args.name, args.datatype, File.expand_path(args.outfile)
22
+ emit_vector args.name, args.datatype, File.expand_path(File.join($OLDDIR,args.outfile))
23
23
  end
24
24
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 3
9
- version: 0.1.3
8
+ - 4
9
+ version: 0.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Christopher Miller