From 7f06076dc4bd4cbdc5a2cc6cde00adb6dec1de2e Mon Sep 17 00:00:00 2001 From: Ilia Motornyi Date: Tue, 10 Jul 2018 12:59:02 +0300 Subject: Fix formatting, improve documentation on autoformat (#11033) --- CONTRIBUTING.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CONTRIBUTING.md') diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 43284b672c..3457ce0863 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -144,6 +144,10 @@ You should receive comments within a week or so; if that does not happen, make s # Submitting the patches +## Source code auto-formatting + +Before submitting changes to Github, run the command `mvn process-sources` from project's root. This maven goal automatically formats source code according to Vaadin standards. The same goal is run automatically if you invoke `mvn install` or `mvn compile`. + ## Creating a pull request in GitHub All our projects accept contributions as GitHub pull requests. The first time you create a pull request, you will be asked to electronically sign a contribution agreement. -- cgit v1.2.3