openmeta.rb 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +0 -21
- data/lib/openmeta/version.rb +1 -1
- metadata +1 -1
data/Rakefile
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
require 'rubygems'
|
4
4
|
require 'hoe'
|
5
|
-
# require 'rake/distribute'
|
6
5
|
|
7
6
|
Hoe.plugin :gemspec
|
8
7
|
Hoe.plugin :git
|
@@ -15,25 +14,5 @@ Hoe.spec 'openmeta.rb' do
|
|
15
14
|
extra_deps << ['thor', '~> 0.17.0']
|
16
15
|
end
|
17
16
|
|
18
|
-
# distribute :FileItem do
|
19
|
-
# from "bin/openmeta"
|
20
|
-
# to "/usr/local/bin/om", :mode => 0755
|
21
|
-
# end
|
22
|
-
|
23
|
-
bindir="/usr/local/bin"
|
24
|
-
|
25
|
-
desc "install"
|
26
|
-
task :install do
|
27
|
-
open("#{bindir}/om", "w") { |f|
|
28
|
-
f.puts "#!/bin/sh",
|
29
|
-
%Q{VM_OPT_LEVEL=0 macruby #{File.expand_path("bin/openmeta")} "$@"}
|
30
|
-
}
|
31
|
-
chmod 0755, "#{bindir}/om"
|
32
|
-
end
|
33
|
-
|
34
|
-
desc "uninstall"
|
35
|
-
task :uninstall do
|
36
|
-
safe_unlink "#{bindir}/om"
|
37
|
-
end
|
38
17
|
|
39
18
|
# vim: syntax=ruby
|
data/lib/openmeta/version.rb
CHANGED