Skip to content

Instantly share code, notes, and snippets.

@davidtucker
Created February 14, 2012 15:31
Show Gist options
  • Save davidtucker/1827581 to your computer and use it in GitHub Desktop.
Save davidtucker/1827581 to your computer and use it in GitHub Desktop.
Output from ST2 Power Tools Generator Demonstration
> generateSenchaTouch2Project.sh
----------------------------------
SENCHA TOUCH 2 PROJECT GENERATOR
----------------------------------
Developed by David Tucker (http://www.davidtucker.net)
Project Hosted on Github (https://github.com/davidtucker/senchaTouch2Tools)
This code is licensed with an MIT License which can be viewed at
http://www.opensource.org/licenses/mit-license.php
----------------------------------
This script generates the boilerplate code needed to start a Sencha Touch 2 project.
The code will be generated in the current working directory.
Output Path: /Projects/SenchaTouch2/projects/SampleApp
Templates Directory is valid.
Do you want to proceed? (y,n) ::
TERM environment variable not set.
y
APPLICATION NAME
----------------------------------
The name of the application can be made up of letters, number, spaces, and dashes.
No additional characters may be used. The application name is used minimally in the
default templates, and it shouldn't be confused with the namespace.
Please enter a name for your application (SampleApp) ::
Sample App
APPLICATION NAMESPACE
----------------------------------
The namespace is used throughout the application. It needs to start with a
capital letter and contain no spaces or special characters.
Please enter a namespace name ::
SampleApp
SENCHA TOUCH SDK DIRECTORY
----------------------------------
Please enter a relative path to the Sencha Touch 2 SDK directory. This cannot
be an absolute path (so it cannot start with a '/') This directory should contain the touch.jsb3
file. This directory will be validated after you enter the value to ensure that this file is present.
Please enter a relative path to the Sencha SDK ::
../../sdk
Checking if file exists: ../../sdk/touch.jsb3
The SDK Directory has been validated.
PROCESSING FILES AND TEMPLATES
mkdir: /Projects/SenchaTouch2/projects/SampleApp/.: File exists
Created Directory: .
Created Directory: ./app
Created Directory: ./app/controller
Created Directory: ./app/model
Created Directory: ./app/store
Created Directory: ./app/view
Created Directory: ./css
Created Directory: ./resources
Created Directory: ./resources/images
Created Directory: ./resources/scss
Copied and Parsed File: ./app/view/Main.js
Copied and Parsed File: ./app.js
Copied and Parsed File: ./index.html
Copied and Parsed File: ./resources/images/icon.png
Copied and Parsed File: ./resources/images/phoneStartupScreen.png
Copied and Parsed File: ./resources/images/tabletStartupScreen.png
Copied and Parsed File: ./resources/scss/config.rb
Copied and Parsed File: ./resources/scss/sencha-touch.scss
Your code has been generated and placed in /Projects/SenchaTouch2/projects/SampleApp
Initially compiling Stylesheet
create resources/scss/../../css/sencha-touch.css
Would you like to setup compass to monitor your CSS now? (y,n) ::
y
A new terminal window will open and start monitoring your scss directory for changes with compass.
Depending on your current configuration this Terminal window may open in the background. To stop
monitoring, simply close the Terminal window.
You may restart this process at any time by simply typing the following into a terminal window:
compass watch "/Projects/SenchaTouch2/projects/SampleApp/resources/scss"
Press ENTER to launch the new terminal window and begin monitoring your scss directory with compass...
tab 1 of window id 920
ST2 Power Tools Project Generator - Generation Complete.
Goodbye.
Process finished with exit code 0 at 09:41:18.
Execution time: 57,876 ms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment