Skip to content

Building YUI

triptych edited this page Sep 21, 2012 · 22 revisions

Steps

  • Read and understand the documentation on Contribute Code to YUI - clone your copy of YUI to your development machine.
  • Read and understand the Shifter documentation. Most of what you need to know will be found here.
    • Install node.js
    • install Shifter: sudo npm -g i shifter
    • go to the directory you want built within YUI and just run shifter
      • For example cd yui3/src/anim & shifter
      • output goes to ../../build

Tips

  • For help with Shifter just run shifter -help
  • Make sure you are always running the latest version of Shifter shifter --version (it will let you know if you are out of date.)
  • Don't use the --compressor flag (it forces the use of the old YUI Compressor)

References

  • Shifter - Build YUI and Gallery - sudo npm -g i shifter
  • Yogi - (YUI or Gallery Interface) Command Line Helper for YU - sudo npm -g i yogi
  • Grover - YUITest wrapper for PhantomJS - sudo npm -g i grover
  • UglifyJS - Used to compress js
  • Istanbul - Code coverage tool
  • GearJS - Build System for Node.js and the Browser

2

Clone this wiki locally