-
Notifications
You must be signed in to change notification settings - Fork 1
Rake tasks
Bixbite comes bundled with myriad of pre-defined rake tasks to make development easier. The following is a list of all provided tasks.
Usage: rake prep
A shortcut for the most common tasks. Runs the following in sequential order:
files:generate
documentation:generate
svn:prep
Usage: rake bixbite:page "Page Title" page-name
Example: rake bixbite:page "Home Page" home # creates home.html / home.css / home.js
Example: rake bixbite:page "About Page" about # creates about.html / about.css / about.js
Usage: rake files:generate
A shortcut for common file tasks. Runs the following in sequential order:
files:copy
files:render
files:empty
Usage: rake files:compress
Takes targeted CSS & JavaScript files and compresses them to a minified directory. Targeted files can be configured in src/yaml/deploy.yml
Usage: rake files:generate
Copies files from source directory to destination directory. Directories can be configured in src/yaml/deploy.yml
Usage: rake files:render
Renders PHP-dependend files through the PHP CLI. Files can be configured in src/yaml/deploy.yml
Usage: rake files:empty
Empties destination directory. Directories can be configured in src/yaml/deploy.yml
Usage: rake svn:prep
A shortcut for common svn tasks. Runs the following in sequential order:
svn:add
svn:remove
svn:diff
Usage: rake svn:add
Runs svn add
on files with a status flag of ‘?’.
Usage: rake svn:remove
Runs svn remove
on files with a status flag of ‘!’.
Usage: rake svn:diff
Generates a diff file with current committed revision.
Usage: rake documentation:generate
Usage: rake png:compress
Runs PNGout on PNGs found in source image directory.
Usage: rake png:ie6
Adds a white background fallback for IE 6 support. Files render with full transparency in all other browsers.