Chervil is a toy Lisp interpreter written in Ruby
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

chervil.gemspec 1.6KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. lib = File.expand_path("../lib", __FILE__)
  2. $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
  3. require "chervil/version"
  4. Gem::Specification.new do |spec|
  5. spec.name = "chervil"
  6. spec.version = Chervil::VERSION
  7. spec.authors = ["Dylan Baker"]
  8. spec.email = ["dylan@simulacrum.party"]
  9. spec.summary = %q{A little Lisp}
  10. spec.homepage = "https://git.sr.ht/~simulacrumparty/chervil"
  11. spec.license = "MIT"
  12. # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
  13. # to allow pushing to a single host or delete this section to allow pushing to any host.
  14. if spec.respond_to?(:metadata)
  15. spec.metadata["allowed_push_host"] = "TODO: Set to 'http://mygemserver.com'"
  16. spec.metadata["homepage_uri"] = spec.homepage
  17. spec.metadata["source_code_uri"] = "https://git.sr.ht/~simulacrumparty/chervil"
  18. else
  19. raise "RubyGems 2.0 or newer is required to protect against " \
  20. "public gem pushes."
  21. end
  22. # Specify which files should be added to the gem when it is released.
  23. # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
  24. spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
  25. `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  26. end
  27. spec.bindir = "exe"
  28. spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  29. spec.require_paths = ["lib"]
  30. spec.add_development_dependency "bundler", "~> 1.16"
  31. spec.add_development_dependency "rake", "~> 10.0"
  32. spec.add_development_dependency "rspec", "~> 3.0"
  33. end