Skip to content

Commit

Permalink
Always build.
Browse files Browse the repository at this point in the history
  • Loading branch information
smillst committed Oct 3, 2023
1 parent a900e58 commit 189a4e7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions typecheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,16 @@
set -e

## Build Checker Framework
# If variable is set or directory exists, assume the Checker Framework is built.
# Don't re-build because we might use wrong arguments (e.g., downloadjdk).
if [ -z "${CHECKERFRAMEWORK}" ] && [ ! -d "../checker-framework/" ] ; then
(cd .. && git clone --depth 1 https://github.com/typetools/checker-framework.git)
CHECKERFRAMEWORK=$(cd ../checker-framework/ >/dev/null 2>&1 && pwd -P)
export CHECKERFRAMEWORK
# This also builds annotation-tools.
# Run assembleForJavac because it does not build the javadoc, so it is faster than assemble.
(cd "${CHECKERFRAMEWORK}" && ./gradlew assembleForJavac --console=plain -Dorg.gradle.internal.http.socketTimeout=60000 -Dorg.gradle.internal.http.connectionTimeout=60000 )
fi

# This also builds annotation-tools.
# Run assembleForJavac because it does not build the javadoc, so it is faster than assemble.
(cd "${CHECKERFRAMEWORK}" && ./gradlew assembleForJavac --console=plain -Dorg.gradle.internal.http.socketTimeout=60000 -Dorg.gradle.internal.http.connectionTimeout=60000 )

# As of 7/27/2019, there are only annotations for:
# * index
# * nullness
Expand Down

0 comments on commit 189a4e7

Please sign in to comment.