Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SQF Minifier

SQF Minifier is a simple, regex-based minifier for SQF files, found in ArmA, etc.

Usage

Run the minifier with Python (≥3.6):

minify.py filename_in [filename_out]

This will produce a minified copy of the file at filename_in. If filename_out is provided, the minified SQF is written there. Otherwise, the minified code will be returned to stdout.

How well does this work?

At least in my testing, well enough. Thanks to the amazing SQF linter by LordGolias, it's possible to command-line test SQF code. If a file passes, its minified code should pass too.

About

An SQF minifier written in Python.

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages