Files
dolt/CONTRIBUTING.md
2016-08-16 11:45:02 -07:00

1.2 KiB

Contributing to Noms

License

Noms is open source software, licensed under the Apache License, Version 2.0.

Contributing code

Due to legal reasons, all contributors must sign a contributor license agreement, either for an individual or corporation, before a pull request can be accepted.

Languages

  • Use Go, JS, or Python.
  • Shell script is not allowed.

Coding style

  • JS follows the Airbnb Style Guide
  • Go uses gofmt, advisable to hook into your editor
  • Tag PRs with either toward: #<bug> or fixes: #<bug> to help establish context for why a change is happening

Running the tests

You can use go test command, e.g:

  • go test $(go list ./... | grep -v /vendor/) should run every tests except from vendor packages.

For JS code, We have a python script to run all js tests.

  • python tools/run-all-js-tests.py