Skip to content

Development Environment

Julian Descottes edited this page Jan 15, 2017 · 11 revisions

Prerequisite

To build Piskel, you need to :

Grunt build targets

default

grunt will build piskel into the /dest folder at the root of your repository.

serve

grunt serve will :

  • build the application
  • start a server on port 9001 (serving dest folder)
  • open a browser on http://localhost:9001
  • watch for changes, and rebuild the application if needed

play

grunt play will :

  • start a server on port 9901 (serving /src folder)
  • open a browser on http://localhost:9901/?debug

With ?debug, piskel will use unpackaged and unminified files.

test

grunt test will :

  • leading indent validation
  • perform jshint validation
  • execute unit tests
  • execute integration tests

Continuous integration

Travis is setup for running the grunt test task for each pull request on Piskel.