rename: src/Formats -> src/Rosetta, @formats -> @rosetta requires, build/luajit/rosetta + rosetta._compat, build/roblox/Rosetta, ROSETTA_* env/globals, writer vendor strings
This commit is contained in:
1 parent
2956576d7f
commit
22ddcd78fa
941 files changed
+3364
-3364
No files matched your search
@@ -24,10 +24,10 @@ def generate(ctx):
|
||||
wav = os.path.join(d, "tone.wav")
|
||||
with open(wav, "wb") as f:
|
||||
f.write(di.tone(44100, 1.0))
|
||||
tags = ["-w", "Title=Docs Tone", "-w", "Artist=formats-luau"]
|
||||
tags = ["-w", "Title=Docs Tone", "-w", "Artist=rosetta"]
|
||||
ctx.nix("wavpack", ["wavpack", "-q", "-y", "-h"] + tags + [wav, "-o", os.path.join(d, "tone.wv")])
|
||||
ctx.nix("wavpack", ["wavpack", "-q", "-y", "-b3", "-c"] + tags + [wav, "-o", os.path.join(d, "tone_hybrid.wv")])
|
||||
ctx.nix("monkeys-audio", ["mac", wav, os.path.join(d, "tone.ape"), "-c2000", "-t", "Title=Docs Tone|Artist=formats-luau"])
|
||||
ctx.nix("monkeys-audio", ["mac", wav, os.path.join(d, "tone.ape"), "-c2000", "-t", "Title=Docs Tone|Artist=rosetta"])
|
||||
ctx.nix("ttaenc", ["ttaenc", "-e", wav, "-o", os.path.join(d, "tone.tta")])
|
||||
for name in ("tone.wv", "tone_hybrid.wv", "tone_hybrid.wvc", "tone.ape", "tone.tta"):
|
||||
files[name] = open(os.path.join(d, name), "rb").read()
|
||||
|
||||
Reference in new issue
Block a user