ws-arch2: archive/yenc (yEnc 1.3 read incl. multi-part in one text, write; CRC checks)
This commit is contained in:
1 parent
8cdb65367a
commit
fe44292f58
6 files changed
+387
No files matched your search
@@ -31,6 +31,7 @@ def tool(pkgs, argv, cwd=None, input=None, check=True):
|
||||
def ours(ctx, fmt, opts=""):
|
||||
"""our writer's output for the standard file set (bytes)"""
|
||||
script = os.path.join(ctx.root, "tools", "fixtures", "_arch2_ours.luau")
|
||||
subprocess.run(["python3", "-I", os.path.join(ctx.root, "tools", "gen_registry.py")], check=True, capture_output=True)
|
||||
exe = shutil.which("luau")
|
||||
argv = ([exe] if exe else ["nix", "shell", "nixpkgs#luau", "-c", "luau"]) + [script, "-a", fmt, opts]
|
||||
out = subprocess.run(argv, check=True, capture_output=True, cwd=ctx.root).stdout
|
||||
|
||||
Reference in new issue
Block a user