Anaminus / rbxmk

A tool for processing Roblox files.
MIT License
109 stars 11 forks source link

Implement Minify filter #5

Closed Anaminus closed 7 years ago

Anaminus commented 7 years ago

Minify Lua scripts for whatever reason.

node = filter{"minify", node}

How to implement?

Anaminus commented 7 years ago

Implemented minify and unminify filters. With some modifications, lua-minify is compatible with gopher-lua. gobake is used with go generate to embed the script.