File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 11source 'https://rubygems.org'
22
3+ gem 'opal' , github : 'opal/opal'
4+ gem 'yeah-web' , github : 'yeahrb/yeah-web'
5+
36gemspec
Original file line number Diff line number Diff line change @@ -4,8 +4,9 @@ command = ARGV.shift
44
55case command
66
7- when 'run'
8- puts "todo"
7+ when 'server'
8+ require 'yeah-web'
9+ Yeah ::Web ::Server . new
910
1011when 'version'
1112 require 'yeah/version'
1617 puts " yeah <command>"
1718 puts ""
1819 puts "Commands:"
19- puts " run - Run game project with web runner ."
20+ puts " server - Start web server for game project ."
2021 puts " version - Print installed version of Yeah."
2122end
Original file line number Diff line number Diff line change @@ -18,4 +18,6 @@ Gem::Specification.new do |s|
1818
1919 s . homepage = 'https://github.com/yeahrb/yeah'
2020 s . license = 'MIT'
21+
22+ s . add_runtime_dependency 'yeah-web' , '~> 0.5.0.dev'
2123end
You can’t perform that action at this time.
0 commit comments