Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 1.2 KB

README.md

File metadata and controls

45 lines (28 loc) · 1.2 KB

harbor

Build Status License

UI assets and code for Lighthouse.

Requirements

Development

Setup

  • npm install -g bower
  • bower install
  • npm install -g gulp
  • npm install

Doing things

  • gulp build default build (non-minified source) to ../lighthouse/static
  • gulp watch optional, rebuilds on source changes
  • gulp clean removes built assets from the server static dir (see Gulpfile.js)

Options:

  • --prod build minfied source to ../lighthouse/static
  • --gopath build to $GOPATH/src/github.com/lighthouse/lighthouse/static/

These two flags can be used in conjunction with each other and with any command above. Note that using --gopath overrides the default target directory. (i.e. source isn't moved to both locations)

Running unit tests

  • npm install -g karma-cli
  • npm test or karma start

Happy coding!

License

Apache v2.0