candle 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +52 -1
- data/VERSION +1 -1
- data/lib/candle/generators/blank.rb +3 -3
- data/lib/candle/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -1,4 +1,55 @@
|
|
1
1
|
candle
|
2
2
|
======
|
3
3
|
|
4
|
-
Candle is a rubygem for wax iOS framework which writes iOS application in lua.
|
4
|
+
Candle is a rubygem for wax iOS framework which writes iOS application in lua.
|
5
|
+
|
6
|
+
Prerequisites
|
7
|
+
=======
|
8
|
+
Ruby
|
9
|
+
-------
|
10
|
+
Candle require ruby installed on your mac machine. Since now all Mac OSX system preinstalled ruby enviroment, that's not a big issue.
|
11
|
+
|
12
|
+
Rubygem(latest)
|
13
|
+
-------
|
14
|
+
Candle has an dependency on "thor" gem , which require latest rubygem installed, so you need to update your rubygem to latest version, run command below to update your rubygem to the latest one.
|
15
|
+
|
16
|
+
$ sudo gem update --system # double dash option
|
17
|
+
|
18
|
+
Installation
|
19
|
+
=======
|
20
|
+
$ sudo gem install candle
|
21
|
+
|
22
|
+
Usage
|
23
|
+
=======
|
24
|
+
Usage 1: candle help
|
25
|
+
-------
|
26
|
+
$ candle help
|
27
|
+
|
28
|
+
![candle usage](http://eiffelqiu.github.com/candle/images/candle1.png)
|
29
|
+
|
30
|
+
Usage 2: generate wax iOS blank xcode application project
|
31
|
+
-------
|
32
|
+
$ candle blank demo
|
33
|
+
$ cd demo
|
34
|
+
$ open demo.xcodeproj
|
35
|
+
|
36
|
+
![candle usage](http://eiffelqiu.github.com/candle/images/candle2.png)
|
37
|
+
|
38
|
+
![candle usage](http://eiffelqiu.github.com/candle/images/candle3.png)
|
39
|
+
|
40
|
+
Xcode build and run
|
41
|
+
|
42
|
+
Contributing to candle
|
43
|
+
=======
|
44
|
+
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
45
|
+
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
46
|
+
* Fork the project
|
47
|
+
* Start a feature/bugfix branch
|
48
|
+
* Commit and push until you are happy with your contribution
|
49
|
+
* Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
|
50
|
+
* Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
|
51
|
+
|
52
|
+
Copyright
|
53
|
+
=======
|
54
|
+
Copyright (c) 2011 Eiffel Q. See LICENSE.txt for
|
55
|
+
further details.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.3
|
@@ -106,11 +106,11 @@ aFile.close
|
|
106
106
|
aString.gsub!('WaxApplication', "#{@project_name}")
|
107
107
|
File.open(fileName, "w") { |file| file << aString }
|
108
108
|
|
109
|
-
system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/project.xcworkspace/xcuserdata/#{`whoami`.strip}.xcuserdatad"
|
109
|
+
system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/project.xcworkspace/xcuserdata/eiffel.xcuserdatad #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/project.xcworkspace/xcuserdata/#{`whoami`.strip}.xcuserdatad" if `whoami`.strip != 'eiffel'
|
110
110
|
|
111
|
-
system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/eiffel.xcuserdatad #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/#{`whoami`.strip}.xcuserdatad"
|
111
|
+
system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/eiffel.xcuserdatad #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/#{`whoami`.strip}.xcuserdatad" if `whoami`.strip != 'eiffel'
|
112
112
|
|
113
|
-
system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/
|
113
|
+
system "mv #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/#{`whoami`.strip}.xcuserdatad/xcschemes/WaxApplication.xcscheme #{options[:root]}/#{@project_name}/#{@project_name}.xcodeproj/xcuserdata/#{`whoami`.strip}.xcuserdatad/xcschemes/#{@project_name}.xcscheme" if `whoami`.strip != 'eiffel'
|
114
114
|
|
115
115
|
template "templates/blank/WaxApplication/main.m.tt", "#{@project_name}/#{@project_name}/main.m"
|
116
116
|
template "templates/blank/WaxApplication/ProtocolLoader.h", "#{@project_name}/#{@project_name}/ProtocolLoader.h"
|
data/lib/candle/version.rb
CHANGED
metadata
CHANGED