yuqi1129 commented on issue #4266:
URL: https://github.com/apache/gravitino/issues/4266#issuecomment-2256108679

   1. It's a good idea to list some commonly used build options and 
combinations in the `kts` file.
   2. Putting all build options in a conspicuous place like in the `build.kts` 
will be preferable as advanced user may has custom needs.  
   
   ```
   ### Define build options  
   commonlyUsedbuildOptions=(  
       "Only compile and skip the unit test and Integration test:  ./gradlew 
clean build -x test"  
       "Only execute the unit test and skip Integration test:  ./gradlew test 
-PskipITs"  
       "Run the integration tests in embedded mode: ./gradlew build -x test && 
./gradlew test -PskipTests -PtestMode=embedded"  
       "Run the integration tests in deploy mode: ./gradlew build -x test && 
./gradlew compileDistribution && ./gradlew test -PskipTests -PtestMode=deploy"  
       "Exit"  
   )  
   
   ### All build optional 
   
   #### Test related
   - skipITs
   - skipDockerTests
   - testMode
   - jdbcBackend
   
   #### Complile and assemble 
   
   - gradle compileDistribution
   - gralde assemblyDistribution
   
   ....
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to