mirror of
https://github.com/jongracecox/anybadge.git
synced 2025-07-21 04:11:05 +02:00
- Add `--version` to cli - Add invoke tasks: - `package.build` - `package.install` - `test.cli` - Refactor invoke task implementation - Refactor `run_pypi_tests.sh` - Split into separate files to support running locally
15 lines
347 B
Bash
15 lines
347 B
Bash
error() {
|
|
echo "==============================================================================="
|
|
echo " An error was encountered."
|
|
echo "==============================================================================="
|
|
}
|
|
|
|
check_rc() {
|
|
if [[ $? -ne 0 ]]; then
|
|
error
|
|
exit 1
|
|
fi
|
|
}
|
|
|
|
export TEST_FILES="${PROJECT_DIR:-}/test_files"
|