lib/stanwood/project_creator.rb in stanwood-0.3.0 vs lib/stanwood/project_creator.rb in stanwood-0.4.0
- old
+ new
@@ -4,18 +4,11 @@
def execute(project_name, platform)
case
when platform == "--ios"
puts "\nššš"
- system("ls")
- system("sh /Users/talzion/Stanwood/stanwood-xctemplate/lib/stanwood/create.sh " + project_name)
- # system("git clone git@github.com:stanwood/Xcode_Templates_iOS.git /echo tmp/xcode_template")
- #
- # system("Running...")
- # system("chmod +x ruby /tmp/xcode_template/Template/configure ", project_name)
- #
- # system("echo Finishing installation")
- # system("rm -rf /tmp/xcode_template")
+ path = File.join(__dir__, 'create.sh')
+ system("sh " + path + " " + project_name)
puts "\nššš"
exit
when platform == "--backend"
puts "\nššš We are working on this awesome feature for Backend. Stay tuned!!! ššš\n\n"
exit