all |
Invokes local and then deploy . This is
what you would normally call when you're ready
to check in your code to the build
directory. |
local |
Invokes clean , init , build , minify and
lint . This is what you would normally call,
when going through a development build, test, build, test cycle. |
clean |
Deletes the local build dir. |
init |
Creates the component's local build dir
(e.g. yui2/src/autocomplete/build_tmp). |
build |
Builds the component files in the local build dir.
The work actually performed in the build step varies
for the type of component and is defined by the type of
build file pulled in:
- componentbuild/2.x/module.xml (2.x module targets)
- componentbuild/3.x/module.xml (3.x standalone module targets)
- componentbuild/3.x/rollup.xml (3.x rollup module targets)
- componentbuild/shared/cssmodule.xml (2.x, 3.x CSS module targets)
The build targets introduced for
the above component types are discussed in
detail below. |
minify |
Compresses the built files in the local
build directory, to create
<component>-min.js (or
<component>-min.css for CSS modules) |
lint |
Runs jslint on the built files in the local build directory. |
deploy |
Copies the built files from the local build
directory, along with any assets, to the top
level build directory. It invokes deploybuild ,
deployassets , deployskins and deploydocs . |
deploybuild |
Copies built files to global build location. |
deployskins |
Copies built skin CSS and related assets to the global build directory. |
deployassets |
Copies non-skin related assets to the global build directory, if they exist. |
deploydocs |
This target is currently a no-op. |