tigr_asgi_contract_artifacts_rs 0.1.2-dev13

Canonical contract artifacts for the Tigr ASGI contract
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from __future__ import annotations
from pathlib import Path
import shutil

ROOT = Path(__file__).resolve().parents[3]
SRC = ROOT / "contract"
DST = ROOT / "packages" / "artifacts-rs" / "contract"

def main() -> None:
    if DST.exists():
        shutil.rmtree(DST)
    shutil.copytree(SRC, DST)

if __name__ == "__main__":
    main()