-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
generalize scripts to generate documentation
the boilerplate for accessing runfiles turned out to be not needed. from now on one can just add targets or filenames for generating documentation and checking that the generated files are up to date under version control.
- Loading branch information
1 parent
d06eafc
commit d90d092
Showing
6 changed files
with
61 additions
and
59 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 was deleted.
Oops, something went wrong.
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,12 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
# compare contents of pairs of files passed as command line arguments. | ||
# print error message (set in `$errormsg` environment variable) and exit if any | ||
# pair does not have equal contents. | ||
while (($#)); do | ||
if ! cmp -s "$1" "$2"; then | ||
echo "$errormsg" | ||
exit 1 | ||
fi | ||
shift; shift | ||
done |
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,7 @@ | ||
#!/usr/bin/env bash | ||
set -euo pipefail | ||
|
||
while (($#)); do | ||
cp "$1" "$BUILD_WORKSPACE_DIRECTORY/$2" | ||
shift; shift | ||
done |
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 was deleted.
Oops, something went wrong.