File: .bbp-task

package info (click to toggle)
bluebrain-hpc-coding-conventions 1.0.0%2Bgit20221201-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 624 kB
  • sloc: python: 2,021; cpp: 220; makefile: 29
file content (18 lines) | stat: -rwxr-xr-x 343 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env python3

import os
from pathlib import Path
import sys

sys.path.append(str(Path(__file__).resolve().parent.parent))

from cpp.lib import BBPProject  # noqa: E402


def main(args=None):
    task = os.path.basename(__file__)
    return BBPProject.run_task(task)


if __name__ == "__main__":
    sys.exit(0 if main() == 0 else 1)