diff --git a/.github/ci_support/test_closure-compiler-npm.sh b/.github/ci_support/test_closure-compiler-npm.sh index 6cdde1ba681..dfc93cc2740 100755 --- a/.github/ci_support/test_closure-compiler-npm.sh +++ b/.github/ci_support/test_closure-compiler-npm.sh @@ -20,7 +20,7 @@ # - PWD = closure-compiler-npm repo root # # Params: -# 1. File name of compiler_shaded.jar +# 1. File name of compiler_uberjar_deploy.jar function main() { local compiler_jar="$1" diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1557fcdab8e..3300332920b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -59,7 +59,7 @@ jobs: # upload-artifact doesn't support paths with symlinks run: | mkdir -p ${{ env.UNSYMLINK_DIR }} - cp -t ${{ env.UNSYMLINK_DIR }} bazel-bin/compiler_shaded.jar + cp -t ${{ env.UNSYMLINK_DIR }} bazel-bin/compiler_uberjar_deploy.jar cp -t ${{ env.UNSYMLINK_DIR }} bazel-bin/*_bundle.jar # Share the following files with other jobs in this workflow. They can be grabbed using ID @@ -70,7 +70,7 @@ jobs: uses: actions/upload-artifact@v2 with: name: unshaded_compiler - path: ${{ env.UNSYMLINK_DIR }}/compiler_shaded.jar + path: ${{ env.UNSYMLINK_DIR }}/compiler_uberjar_deploy.jar if-no-files-found: error # If this build will be uploadaded as a SNAPSHOT, share the Sonatype bundles with the other @@ -124,7 +124,7 @@ jobs: path: compiler/bazel-bin - name: Test closure-compiler-npm - run: compiler/.github/ci_support/test_closure-compiler-npm.sh compiler/bazel-bin/compiler_shaded.jar + run: compiler/.github/ci_support/test_closure-compiler-npm.sh compiler/bazel-bin/compiler_uberjar_deploy.jar deploy-snapshots: name: Deploy Snapshot Bundles to Sonatype diff --git a/README.md b/README.md index 73cc07e65e0..051a1e8383a 100644 --- a/README.md +++ b/README.md @@ -235,7 +235,7 @@ You can trigger the build process easily with package.json scripts or by calling Bazel manually. ```bash -# bazelisk build //:compiler_shaded.jar +# bazelisk build //:compiler_uberjar_deploy.jar yarn build # bazelisk build :all @@ -270,7 +270,7 @@ directory. You can access it with a call to `java -jar ...` or by using the package.json script: ```bash -# java -jar bazel-bin/compiler_shaded.jar [...args] +# java -jar bazel-bin/compiler_uberjar_deploy.jar [...args] yarn compile [...args] ``` diff --git a/package.json b/package.json index 04e2e19366f..d763def033e 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "build": "clean && mvn -DskipTests", "build:fast": "mvn -DskipTests -pl externs/pom.xml,pom-main.xml,pom-main-shaded.xml", "clean": "yarn runtime_tests:clean && mvn clean", - "compile": "java -jar bazel-bin/compiler_shaded.jar", + "compile": "java -jar bazel-bin/compiler_uberjar_deploy.jar", "runtime_tests:build": "$npm_package_config_runtime_tests_dir/utils/build.sh", "runtime_tests:clean": "rm -rf $npm_package_config_runtime_tests_dir/**/build/*", "runtime_tests:run": "jest --testRegex $npm_package_config_runtime_tests_dir/utils/test/* --verbose=true",