igg 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -4
- data/lib/igg/cli.rb +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3334d547b551c6096235e4664cbe4dbbebde2d03
|
4
|
+
data.tar.gz: 4e4d29b36650777eeb1830cc2123e55953bd753b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 065f741a3568f366503acc837f1fff51ad74d6ab4464b85bad2f6e2bfea8a1f557f4e439b8f2a9438dc92606e53a5bfa51ea401d62de3f1f5984e2785216813f
|
7
|
+
data.tar.gz: 373586f505e433e1e95c6bccf9f2d3b72a9db957914ec430ad54eab1384757fde1abe0e46c2534be190db3ee1f17196a60d40d84d469d9c5dc155773995cbaea
|
data/README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
Several tools for fast developing an ImpactJS Game, include generators and built-in server to run the game and weltmeister level editor right in the current project folder without require apache server and PHP configuration.
|
4
4
|
|
5
|
-
|
6
5
|
### Installation
|
7
6
|
|
8
7
|
$ gem install igg
|
@@ -11,10 +10,10 @@ Several tools for fast developing an ImpactJS Game, include generators and built
|
|
11
10
|
|
12
11
|
$ igg
|
13
12
|
Commands:
|
14
|
-
igg entity [
|
13
|
+
igg entity [name] # generate an ImpactJS Game entity
|
15
14
|
igg help [COMMAND] # Describe available commands or one specific command
|
16
|
-
igg level [
|
17
|
-
igg project [
|
15
|
+
igg level [name] # generate an ImpactJS Game level
|
16
|
+
igg project [name] # generate an ImpactJS Game project
|
18
17
|
|
19
18
|
### Generate an ImpactJS Game project
|
20
19
|
|
data/lib/igg/cli.rb
CHANGED
@@ -7,6 +7,14 @@ require 'thor'
|
|
7
7
|
require_relative 'ext/string_extention'
|
8
8
|
%w[project entity level].each { |task| require_relative "builder/#{task}_builder" }
|
9
9
|
|
10
|
+
########################################################
|
11
|
+
##
|
12
|
+
## reference code from Chris Darroch's 'impactrb'
|
13
|
+
## code: https://github.com/chrisdarroch/impactrb
|
14
|
+
##
|
15
|
+
## I adpated it to run in current impact project folder
|
16
|
+
##
|
17
|
+
########################################################
|
10
18
|
class Server < Sinatra::Base
|
11
19
|
|
12
20
|
set :public_folder, Dir.pwd
|