Sha256: 7c06622dd62f5037cc9efe0c2d09a347cc1e1e1e50d690081bc866263ede7cee
Contents?: true
Size: 538 Bytes
Versions: 6
Compression:
Stored size: 538 Bytes
Contents
#!/bin/zsh # Compiles the wax stdlib into one file lua "$PROJECT_DIR/wax/lib/build-scripts/luac.lua" wax wax.dat "$PROJECT_DIR/wax/lib/stdlib/" "$PROJECT_DIR/wax/lib/stdlib/init.lua" -L "$PROJECT_DIR/wax/lib/stdlib"/**/*.lua # Dumps the compiled file into a byte array, then it places this into the source code cat > "$PROJECT_DIR/wax/lib/wax_stdlib.h" <<EOF // DO NOT MODIFY // This is auto generated, it contains a compiled version of the wax stdlib #define WAX_STDLIB {$(hexdump -v -e '1/1 "%d,"' wax.dat)} EOF # clean up rm wax.dat
Version data entries
6 entries across 6 versions & 1 rubygems