mirror of
https://github.com/beautifier/js-beautify.git
synced 2025-02-07 13:27:43 +00:00
Update Contributing.md with information to serve locally
This commit is contained in:
parent
85936fe205
commit
2ee3c8b5e0
@ -13,6 +13,12 @@ While developing, you may locally build and test the JavaScript or Python (or bo
|
||||
|
||||
* Familiarize yourself with the folder structure and code style before you dive in.
|
||||
* Make changes to the implementation of your choice.
|
||||
* If working in the JavaScript implementation:
|
||||
* Run `./build js`
|
||||
* Run `./build static` to see changes served locally
|
||||
* If working in the Python implementation:
|
||||
* Run `./build py`
|
||||
* Run `./build static` to see changes served locally
|
||||
* Add tests to `/test/data/*/test.js`.
|
||||
* Run `./build jstest` or `./build pytest` to run style checks, and to generate and run tests.
|
||||
* Include all changed files in your commit - The generated test files are checked in along with changes to the test data files.
|
||||
|
Loading…
x
Reference in New Issue
Block a user