Skip to content

Building YUI

triptych edited this page Sep 20, 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

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 - 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

2

Clone this wiki locally