-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH(ci): Add and update deployment scripts
- Loading branch information
Showing
3 changed files
with
20 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# @file enh_codee.sh | ||
# @author Mike S Wang | ||
# @brief Improve code quality with Codee. | ||
# @note Requires ``bear`` (e.g. from conda-forge) and ``codee``. | ||
# | ||
|
||
THIS_DIR="$(dirname -- "${BASH_SOURCE[0]}")" | ||
|
||
make cppclean | ||
|
||
bear --output "${THIS_DIR}/compile_commands.json" -- \ | ||
make -j cppappbuild useomp=true | ||
|
||
codee checks --config "${THIS_DIR}/compile_commands.json" |
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