Add gemspec
This commit is contained in:
parent
ffb5eda987
commit
160b635035
3 changed files with 25 additions and 6 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,3 +3,4 @@
|
||||||
/bin/
|
/bin/
|
||||||
/.shards/
|
/.shards/
|
||||||
*.dwarf
|
*.dwarf
|
||||||
|
*.gem
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require 'bundler/inline'
|
require 'curses'
|
||||||
|
|
||||||
gemfile do
|
|
||||||
source 'https://rubygems.org'
|
|
||||||
gem 'curses'
|
|
||||||
end
|
|
||||||
|
|
||||||
require 'minehunt'
|
require 'minehunt'
|
||||||
|
|
||||||
|
|
23
ruby/minehunt.gemspec
Normal file
23
ruby/minehunt.gemspec
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require_relative './lib/minehunt'
|
||||||
|
|
||||||
|
Gem::Specification.new do |s|
|
||||||
|
s.name = 'minehunt'
|
||||||
|
s.version = MineHunt::VERSION
|
||||||
|
s.summary = 'Mine hunting game'
|
||||||
|
s.description = 'Mine hunting game inspired by the HP 48'
|
||||||
|
s.authors = ['Gwenhael Le Moine']
|
||||||
|
s.email = 'gwenhael@le-moine.org'
|
||||||
|
s.homepage = 'https://src.le-moine.org/gwh/myhunt/src/branch/main/ruby'
|
||||||
|
s.license = 'GPL-3.0'
|
||||||
|
s.extra_rdoc_files = ['README.md']
|
||||||
|
|
||||||
|
s.files = ['lib/minehunt.rb']
|
||||||
|
|
||||||
|
s.add_dependency 'curses', '~> 1.4.4'
|
||||||
|
|
||||||
|
s.executables << 'minehunt'
|
||||||
|
|
||||||
|
s.required_ruby_version = '> 3'
|
||||||
|
end
|
Loading…
Reference in a new issue