Skip to content

Files

Latest commit

5b65522 · Mar 11, 2021

History

History
54 lines (40 loc) · 1.85 KB

CONTRIBUTING.md

File metadata and controls

54 lines (40 loc) · 1.85 KB

Contributing guidelines

Pull Request Checklist

Before sending your pull requests, make sure you followed this list:

Development process

Please follow the steps below in order to make the changes:

  1. Clone the repository

  2. Checkout develop branch.

  3. Open repository in your favourite IDE.

  4. Enable and configure CheckStyle plugin in your IDE (for IntelliJ it is CheckStyle-IDEA). Import graphql-codegen-check-style.xml as a .

  5. Make code changes to the core library of graphql-java-codegen.

  6. If changes are required in the plugin code, then build and install graphql-java-codegen first.

    # This will install the library (including your recent changes) in your local maven repository.
    ./gradlew clean build publishToMavenLocal
  7. Build the plugin project with updated graphql-java-codegen library.

    # Build Gradle plugin
    ./gradlew -p plugins/gradle/graphql-java-codegen-gradle-plugin clean build
    
    # Build Maven plugin
    cd plugins/maven/graphql-java-codegen-maven-plugin
    mvn clean verify 
  8. Make changes to the plugin code

  9. Install the plugin (copy to your local maven repository).

    # Install Gradle plugin
    ./gradlew -p plugins/gradle/graphql-java-codegen-gradle-plugin clean build publishToMavenLocal
    
    # Install Maven plugin
    cd plugins/maven/graphql-java-codegen-maven-plugin
    mvn clean install 
  10. Make sure that example projects are compiling and running.