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
@@ -1,13 +1,13 @@
|
||||
#!/usr/bin/env python3
|
||||
# Brotli static data generator (python3 -I tools/brotli_static.py [brotli-source-dir]): writes
|
||||
# src/Formats/codecs/compress/Brotli/Static.luau from the official brotli C sources (MIT; licenses/brotli-LICENSE.txt):
|
||||
# src/Rosetta/codecs/compress/Brotli/Static.luau from the official brotli C sources (MIT; licenses/brotli-LICENSE.txt):
|
||||
# the 122784-byte RFC 7932 static dictionary (c/common/dictionary_inc.h, stored deflated + base64), the context
|
||||
# lookup table (c/common/context.c) and the 121 word transforms (c/common/transform.c).
|
||||
# Without an argument the source comes from `nix build nixpkgs#brotli.src`.
|
||||
import base64, os, re, subprocess, sys, zlib
|
||||
|
||||
ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
||||
OUT = os.path.join(ROOT, "src", "Formats", "codecs", "Brotli", "Static.luau")
|
||||
OUT = os.path.join(ROOT, "src", "Rosetta", "codecs", "Brotli", "Static.luau")
|
||||
|
||||
|
||||
def c_array(text, name):
|
||||
|
||||
Reference in new issue
Block a user