Permalink
Browse files

Switch off posix-dependent gems when on Windows

Add Windows .bat startup scripts
  • Loading branch information...
1 parent b71cfb4 commit 800a475c2112e8f88ffaefd7596e113af7a1b75f unknown committed Jan 17, 2012
Showing with 24 additions and 55 deletions.
  1. +20 −14 Gemfile
  2. +0 −41 Gemfile.lock
  3. +1 −0 swing-shoooes.bat
  4. +1 −0 swing-shoooesd.bat
  5. +1 −0 swt-shoooes.bat
  6. +1 −0 swt-shoooesd.bat
View
34 Gemfile
@@ -1,32 +1,38 @@
source "http://rubygems.org"
+require 'rbconfig'
+
gem 'facets'
gem 'log4jruby'
gem 'swt'
group :development do
gem "ruby-debug"
- gem "guard"
- gem "spork"
+ #gem "guard"
+ #gem "spork"
+
+ #gem 'yard'
- gem 'yard'
-
- ## Dependencies for Rocco.
- ## Really... All Three Markdown gems?!
- # A Jruby compatible gem for 'pygmentize'
- gem "albino"
- #gem "bluecloth"
- gem "redcarpet"
- #gem "rdiscount"
- gem "rocco"
+ unless Config::CONFIG['host_os']
+ ## Dependencies for Rocco.
+ ## Really... All Three Markdown gems?!
+ # A Jruby compatible gem for 'pygmentize'
+ gem "albino"
+ #gem "bluecloth"
+ gem "redcarpet"
+ #gem "rdiscount"
+ gem "rocco"
+ end
end
group :test do
- gem "mechanize"
+ unless Config::CONFIG['host_os']
+ #gem "mechanize"
+ end
gem "gherkin"
gem "cucumber"
gem "rspec"
gem "rake"
- gem "shoes-cucumber"
+ #gem "shoes-cucumber"
end
View
@@ -1,8 +1,6 @@
GEM
remote: http://rubygems.org/
specs:
- albino (1.3.3)
- posix-spawn (>= 0.3.6)
builder (3.0.0)
columnize (0.3.6)
cucumber (1.1.0)
@@ -13,37 +11,17 @@ GEM
term-ansicolor (>= 1.0.6)
diff-lcs (1.1.3)
facets (2.9.2)
- ffi (1.0.11)
- ffi (1.0.11-java)
gherkin (2.5.1)
json (>= 1.4.6)
gherkin (2.5.1-java)
json (>= 1.4.6)
- guard (0.9.4)
- ffi (>= 0.5.0)
- thor (~> 0.14.6)
json (1.6.1)
json (1.6.1-java)
linecache (0.46)
rbx-require-relative (> 0.0.4)
log4jruby (0.4.0)
- mechanize (2.0.1)
- net-http-digest_auth (~> 1.1, >= 1.1.1)
- net-http-persistent (~> 1.8)
- nokogiri (~> 1.4)
- webrobots (~> 0.0, >= 0.0.9)
- mustache (0.99.4)
- net-http-digest_auth (1.1.1)
- net-http-persistent (1.9)
- nokogiri (1.5.0)
- nokogiri (1.5.0-java)
- posix-spawn (0.3.6)
rake (0.9.2)
rbx-require-relative (0.0.5)
- redcarpet (2.0.1)
- rocco (0.8)
- mustache
- redcarpet
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
@@ -58,38 +36,19 @@ GEM
ruby-debug-base (0.10.4)
linecache (>= 0.3)
ruby-debug-base (0.10.4-java)
- shoes-cucumber (0.0.2)
- cucumber
- rspec
- shoes-mocks
- shoes-mocks (0.0.2)
- rspec
- spork (0.8.5)
swt (0.12)
term-ansicolor (1.0.6)
- thor (0.14.6)
- webrobots (0.0.11)
- nokogiri (>= 1.4.4)
- yard (0.7.4)
PLATFORMS
java
ruby
DEPENDENCIES
- albino
cucumber
facets
gherkin
- guard
log4jruby
- mechanize
rake
- redcarpet
- rocco
rspec
ruby-debug
- shoes-cucumber
- spork
swt
- yard
View
@@ -0,0 +1 @@
+call jruby --1.9 -e "$:<< 'lib'; require 'shoes'; require '%1' "
View
@@ -0,0 +1 @@
+call jruby --1.9 --debug -e "$:<< 'lib'; require 'shoes'; require '%1' "
View
@@ -0,0 +1 @@
+call jruby --1.9 -e "$:<< 'lib'; require 'shoes'; require 'shoes/configuration'; Shoes.configuration.framework = 'swt_shoes'; require '%1' "
View
@@ -0,0 +1 @@
+call jruby --1.9 --debug -e "$:<< 'lib'; require 'shoes'; require 'shoes/configuration'; Shoes.configuration.framework = 'swt_shoes'; require '%1' "

0 comments on commit 800a475

Please sign in to comment.