-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initialize project with a shell script, outside of the build script.
(#33)
- Loading branch information
Showing
4 changed files
with
37 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/bash | ||
|
||
set -eu | ||
|
||
readonly PLUME_SCRIPTS=.plume-scripts | ||
readonly CHECKER_FRAMEWORK=../checker-framework | ||
readonly JSPECIFY=../jspecify | ||
|
||
if [[ ! -d "${PLUME_SCRIPTS}" ]]; then | ||
git clone -q --depth 1 https://github.com/plume-lib/plume-scripts.git \ | ||
"${PLUME_SCRIPTS}" | ||
fi | ||
|
||
if [[ ! -d "${CHECKER_FRAMEWORK}" ]]; then | ||
"${PLUME_SCRIPTS}"/git-clone-related jspecify checker-framework -q | ||
fi | ||
|
||
if [[ ! -d "${JSPECIFY}" ]]; then | ||
# We test using some modified samples in a different branch of the jspecify | ||
# repo, so we check out that branch. | ||
"${PLUME_SCRIPTS}"/git-clone-related --upstream-branch samples-google-prototype jspecify jspecify -q | ||
fi |