Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 32 lines (27 sloc) 0.845 kb
28cdd56 R.I.Pienaar - simplify language by changing precedence with hierarchy
authored
1 require 'rubygems'
2 require 'rake/gempackagetask'
dc41bcd R.I.Pienaar Add comments and tests
authored
3 require 'rspec/core/rake_task'
28cdd56 R.I.Pienaar - simplify language by changing precedence with hierarchy
authored
4
5 spec = Gem::Specification.new do |s|
6 s.name = "hiera"
27d6fd9 R.I.Pienaar Fix /bin/env to /usr/bin/env (#1)
authored
7 s.version = "0.1.1"
28cdd56 R.I.Pienaar - simplify language by changing precedence with hierarchy
authored
8 s.author = "R.I.Pienaar"
9 s.email = "rip@devco.net"
27d6fd9 R.I.Pienaar Fix /bin/env to /usr/bin/env (#1)
authored
10 s.homepage = "https://github.com/ripienaar/hiera/"
28cdd56 R.I.Pienaar - simplify language by changing precedence with hierarchy
authored
11 s.summary = "Light weight hierarcical data store"
12 s.description = "A pluggable data store for hierarcical data"
13 s.files = FileList["{bin,lib}/**/*"].to_a
14 s.require_path = "lib"
27d6fd9 R.I.Pienaar Fix /bin/env to /usr/bin/env (#1)
authored
15 s.test_files = FileList["spec/**/*"].to_a
28cdd56 R.I.Pienaar - simplify language by changing precedence with hierarchy
authored
16 s.has_rdoc = true
dcc2ad2 R.I.Pienaar Add a CLI query tool
authored
17 s.executables = "hiera"
18 s.default_executable = "hiera"
28cdd56 R.I.Pienaar - simplify language by changing precedence with hierarchy
authored
19 end
20
21 Rake::GemPackageTask.new(spec) do |pkg|
22 pkg.need_tar = true
23 end
dc41bcd R.I.Pienaar Add comments and tests
authored
24
25 desc "Run all specs"
26 RSpec::Core::RakeTask.new(:test) do |t|
27 t.pattern = 'spec/**/*_spec.rb'
28 t.rspec_opts = File.read("spec/spec.opts").chomp || ""
29 end
30
31 task :default => [:test, :repackage]
Something went wrong with that request. Please try again.