pangolin 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +4 -13
- data/VERSION +1 -1
- data/examples/package/Rakefile +1 -1
- data/examples/test/Rakefile +1 -1
- data/pangolin.gemspec +2 -2
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
Ruby wrappers for javac and jar that don't just exec.
|
4
4
|
|
5
|
-
Ant is a nice tool for writing Java build scripts, but Rake is nicer. The only thing missing from Rake is a way to run +javac+ and
|
5
|
+
Ant is a nice tool for writing Java build scripts, but Rake is nicer. The only thing missing from Rake is a way to run +javac+, +jar+ and your JUnit tests, and although it's easy to run these with exec you have to wait for the JVM to start for each invocation. In combination with JRuby this gem lets you run +javac+, +jar+ and +junit+ in your Rake scripts without exec'ing, and you don't have to write XML to do it. Pangolin uses the the programmatic interface to Javac, Java's ZIP file creation capabilities and the JUnit command line runner to do it's magic.
|
6
6
|
|
7
7
|
== Example
|
8
8
|
|
@@ -23,22 +23,13 @@ Ant is a nice tool for writing Java build scripts, but Rake is nicer. The only t
|
|
23
23
|
junit test_classes, :class_path => FileList['build', 'lib/*.jar']
|
24
24
|
end
|
25
25
|
|
26
|
-
There are more examples in the +examples+ directory.
|
26
|
+
There are more examples in the +examples+ directory (just cd to one of the directories under +examples+ and run +jruby -S rake+, or +jrake+ if you have it).
|
27
27
|
|
28
28
|
== Installation
|
29
29
|
|
30
|
-
|
30
|
+
Pangolin is available as a gem from Gemcutter:
|
31
31
|
|
32
|
-
sudo jruby -S gem install pangolin
|
33
|
-
|
34
|
-
To add Gemcutter as a gem source, run these commands:
|
35
|
-
|
36
|
-
jruby -S gem install gemcutter
|
37
|
-
jruby -S gem tumble
|
38
|
-
|
39
|
-
To add GitHub as a gem source, run this command:
|
40
|
-
|
41
|
-
jruby -S gem sources -a http://gems.github.com
|
32
|
+
sudo jruby -S gem install pangolin -s http://gemcutter.org
|
42
33
|
|
43
34
|
== Command style
|
44
35
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.2
|
data/examples/package/Rakefile
CHANGED
data/examples/test/Rakefile
CHANGED
data/pangolin.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{pangolin}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.2"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Theo Hultberg"]
|
12
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-11-03}
|
13
13
|
s.description = %q{Ant is a nice tool for writing Java build scripts, but Rake is nicer. The only thing missing from Rake is a way to run javac and jar, and although it's easy to run these as shell scripts you have to wait for the JVM to start. In combination with JRuby this gem lets you run javac and jar in your Rake scripts without exec'ing.}
|
14
14
|
s.email = %q{theo@iconara.net}
|
15
15
|
s.extensions = ["Rakefile"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pangolin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Theo Hultberg
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-11-03 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|