Skip to content

Commit

Permalink
Added gemfile, moved gemspec to gemspec file. Added rcov to rakefile.…
Browse files Browse the repository at this point in the history
… Changed tests to include test_helper. Added test rake task.
  • Loading branch information
BRIMIL01 committed Apr 16, 2011
1 parent 77a36cc commit c2075fc
Show file tree
Hide file tree
Showing 36 changed files with 126 additions and 4,784 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
source :rubygems

gemspec
22 changes: 22 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
PATH
remote: .
specs:
neptune (0.0.8)
soap4r

GEM
remote: http://rubygems.org/
specs:
flexmock (0.9.0)
httpclient (2.2.0)
rcov (0.9.9)
soap4r (1.5.8)
httpclient (>= 2.1.1)

PLATFORMS
ruby

DEPENDENCIES
flexmock
neptune!
rcov
43 changes: 12 additions & 31 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,37 +1,18 @@
require 'rubygems'
require 'rake/gempackagetask'
require 'rake/testtask'
require 'rcov/rcovtask'

spec = Gem::Specification.new do |s|
s.name = 'neptune'
s.version = '0.0.8'

s.summary = "A domain specific language for deploying HPC apps to cloud platforms"
s.description = <<-EOF
Neptune is a domain specific language that lets you deploy high performance
computing applications to supported cloud platforms. Jobs can be deployed in
standard Ruby syntax.
EOF

s.author = "Chris Bunch"
s.email = "appscale_community@googlegroups.com"
s.homepage = "http://neptune-lang.org"

s.executables = ["neptune"]
s.default_executable = 'neptune'
s.platform = Gem::Platform::RUBY

candidates = Dir.glob("{bin,doc,lib,test}/**/*")
s.files = candidates.delete_if do |item|
item.include?(".bzr") || item.include?("rdoc")
end
s.require_path = "lib"
s.autorequire = "neptune"

s.has_rdoc = true
s.extra_rdoc_files = ["README", "LICENSE"]
desc "Run tests"
Rake::TestTask.new do |t|
t.test_files = FileList['test/tc_*.rb']
t.verbose = true
end

Rake::GemPackageTask.new(spec) do |pkg|
pkg.need_tar = true
Rcov::RcovTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/tc_*.rb']
t.verbose = true
end



Loading

0 comments on commit c2075fc

Please sign in to comment.