Skip to content

World's most powerful open data catalog for building a high-performance, geo-distributed and federated metadata lake.

[#1003]doc: skip test in get start doc (#1006)

FANNGfe3b076bd703
diff --git a/README.md b/README.md
index bc60f7632a..a0c59230f4 100644
--- a/README.md
+++ b/README.md
@@ -30,13 +30,13 @@ You can find the latest Gravitino documentation here in the [doc folder](docs),
Gravitino builds Gradle. To build Gravitino, please run:
```shell
-./gradlew clean build
+./gradlew clean build -x test
```
If you want to build a distribution package, please run:
```shell
-./gradlew compileDistribution
+./gradlew compileDistribution -x test
```
to build a distribution package.
@@ -44,7 +44,7 @@ to build a distribution package.
Or:
```shell
-./gradlew assembleDistribution
+./gradlew assembleDistribution -x test
```
to build a compressed distribution package.
diff --git a/docs/how-to-build.md b/docs/how-to-build.md
index 3294f82be4..53a21432e7 100644
--- a/docs/how-to-build.md
+++ b/docs/how-to-build.md
@@ -48,7 +48,7 @@ Note:
./gradlew build
```
- > Note: The first time you build the project, downloading the dependencies may take a while.
+ > Note: The first time you build the project, downloading the dependencies may take a while. You can add `-x test` to skip the test, like `./gradlew build -x test`.
3. Deploy the Gravitino project in your local environment.