Skip to content

Commit

Permalink
added a prePR command and PR template to remind people to run it (#2583)
Browse files Browse the repository at this point in the history
* added a prePR command and PR template to remind people to run it

* feedback

Co-Authored-By: kailuowang <[email protected]>
  • Loading branch information
kailuowang authored Oct 26, 2018
1 parent 1f5c45a commit a317c46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Thank you for contributing to Cats!

This is a kind reminder to run `sbt prePR` and commit the changed files before submitting.


2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,8 @@ addCommandAlias("validateKernelJS", "kernelLawsJS/test")
addCommandAlias("validateFreeJS", "freeJS/test") //separated due to memory constraint on travis
addCommandAlias("validate", ";clean;validateJS;validateKernelJS;validateFreeJS;validateJVM")

addCommandAlias("prePR", ";fmt;validateBC")

////////////////////////////////////////////////////////////////////////////////////////////////////
// Base Build Settings - Should not need to edit below this line.
// These settings could also come from another file or a plugin.
Expand Down

0 comments on commit a317c46

Please sign in to comment.