It features a useful ANT build file which can:
- Refactor template files to match your project and namespace
- Build with Google Closure Builder allowing the use of Google Closure Library
- Minify CSS using the YUI Compressor
To get started, first clone the repository:
cd /your/workspace git clone firstname.lastname@example.org:LeanMeanFightingMachine/Springboard.git YourProjectName
Update the AUTHOR and NAMESPACE variables in the build.properties file.
Run the setup task:
cd YourProjectName ant setup
This will refactor the project template to match your namespace. You'll then be given the option to delete the GIT metadata and disconnect from the Springboard repository...
###Now Start Coding!
In your HTML files keep your code in the following block comments:
- CSS:LIB - For CSS libraries
- CSS:SRC - For your CSS
Scripts and styles embedded outside of blocks will remain untouched to add flexibility, whilst all blocks of the same type in different pages will intelligently be compiled together.
To do this, run update:
To compile your project, run build:
To compile your project for deployment without any logs, run deploy: