Building onfontready

November 5, 2016 ยท View on GitHub

onfontready is built using gulp. There are build commands and watch commands for every variation of the library, along with other helpers. Below are a list of commands, from most to least useful. They all assume that gulp is installed globally.

  • Build modern and legacy versions of onfontready, the promise shim, the onfontsready multi-font wrapper, and the test builds.

    gulp all
    
  • Build modern and legacy versions of onfontready, the promise shim, the onfontsready multi-font wrapper, and the test builds. Then, it watches the source files and will rebuild each output as necessary.

    gulp allWatch
    
  • Build modern and legacy versions of onfontready.

    gulp build
    
  • Build modern and legacy versions of onfontready. Then, it watches the source files and will rebuild each output as necessary.

    gulp buildWatch
    
  • Build modern and legacy versions of onfontready with testing code injected.

    gulp buildTest
    
  • Build modern and legacy versions of onfontready with testing code injected. Then, it watches the source files and will rebuild each output as necessary.

    gulp buildTestWatch
    
  • Build Promise shim for onfontready.

    gulp promise
    
  • Build Promise shim for onfontready. Then, it watches the source file and will rebuild the output as necessary.

    gulp promiseWatch
    
  • Build onfontsready wrapper for multi-font detection.

    gulp onfontsready
    
  • Build onfontsready wrapper for multi-font detection. Then, it watches the source file and will rebuild the output as necessary.

    gulp onfontsreadyWatch
    
  • Build modern version of onfontready.

    gulp modern
    
  • Build legacy version of onfontready.

    gulp legacy
    
  • Build modern version of onfontready with testing code injected.

    gulp modernTest
    
  • Build legacy version of onfontready with testing code injected.

    gulp legacyTest
    

โ—€ Back to Docs Home