0.1.1 • Published 10 years ago
maxleap-hotload v0.1.1
Hotload
Dev Setup
- Install Node.js
- Install Git
- Install Gulp:
npm install -g gulp - Clone the Repository:
git clone https://github.com/MaxLeap/HotLoad
Building
- Run
npm installfrom the root of the repository. - Run
gulp installto install the NPM dependencies of each module within the project. - Run
gulp linkto link CLI and SDK for local development. It is advisable to do this step if you are making changes to the SDK and want the CLI to pick those changes. - Run
gulp buildto build all of the modules. To build just one of the modules (e.g. cli or sdk), rungulp build-cliorgulp build-sdk.
Running Tests
To run all tests, run gulp test script from the root of the project.
To test just one of the projects (e.g. cli or sdk), run gulp test-cli or gulp test-sdk
Coding Conventions
- Use double quotes for strings
- Use four space tabs
- Use
camelCasefor local variables and imported modules,PascalCasefor types, anddash-casefor file names