-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rework the test harness build. (#197)
This PR reworks how the test harness gets built, to use the same mechanism as the main build and linter.
- Loading branch information
Showing
8 changed files
with
3,687 additions
and
74 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
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,10 @@ | ||
@this/main-lint | ||
==================== | ||
|
||
This is the main module for the linter. | ||
|
||
- - - - - - - - - - | ||
``` | ||
Copyright 2022-2023 the Lactoserv Authors (Dan Bornstein et alia). | ||
SPDX-License-Identifier: Apache-2.0 | ||
``` |
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,14 @@ | ||
#!/bin/bash | ||
# | ||
# Copyright 2022-2023 the Lactoserv Authors (Dan Bornstein et alia). | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Figure out the symlink-resolved program name and directory. | ||
cmdName="$(readlink -f "$0")" || exit "$?" | ||
cmdDir="${cmdName%/*}" | ||
cmdName="${cmdName##*/}" | ||
baseDir="${cmdDir%/*}" | ||
|
||
# Call through to the `jest` that got built by the main Jest dependency. | ||
exec "${baseDir}/lib/node_modules/.bin/jest" \ | ||
"$@" |
Oops, something went wrong.