Files
espurna/code/html

Building

All commands must be called from code/

$ pwd
/home/dev/espurna/code

Install dependencies before using the builder

$ npm install

Build every .html.gz.h

$ gulp 

Build specific flavour

$ gulp webui_small

List available tasks

$ gulp --tasks

Development

Launches development server on port 8080 with the resulting .html bundle. No minification or compression, using webui_all as base

$ gulp dev

Call eslint and html-validate before building

$ gulp eslint
$ gulp html_validate

Directories

  • code/espurna/static/ - .html.gz.h, used in the firmware code
  • code/html/build - intermediate build results
  • node_modules - build dependencies