Initial ABSDEV deployment framework development preview
ABSDEV Framework CI / framework-validation (push) Canceled after 0s
ABSDEV Framework CI / framework-validation (push) Canceled after 0s
This commit is contained in:
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import runpy
|
||||
import sys
|
||||
|
||||
from pathlib import Path
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
|
||||
sys.path.insert(0, str(ROOT))
|
||||
|
||||
# Preserve the original validation behaviour.
|
||||
|
||||
if len(sys.argv) > 1 and sys.argv[1] == "validate":
|
||||
runpy.run_path(
|
||||
str(ROOT / "bin/absdev-deploy-validate.py"),
|
||||
run_name="__main__",
|
||||
)
|
||||
else:
|
||||
from core.inspection_cli import main
|
||||
|
||||
sys.exit(main())
|
||||
Reference in New Issue
Block a user