-
Notifications
You must be signed in to change notification settings - Fork 10
Contributing code
Simeon Nenov edited this page Nov 8, 2016
·
1 revision
If you are using SSH:
git clone git@github.com:ssnenov/Html2Amp.git
If you don't have SSH:
git clone https://github.com/ssnenov/Html2Amp.git
TBA
TBA
TBA
Before every commit you have to run all unit tests and before every push/merge request to the remote you have to run all integration tests.
TBA
In order to run the integration tests you need to install a node.js module to verify the correctness of produced AMP html. You can find the module distributed as npm package.
Steps to install the module:
- Go to the root directory of the repository
- Run command prompt in the same directory
- Type
npm install amphtml-validator
Now you just need to run all tests under Html2Amp.IntegrationTests project.