Joshua Peek
aeef1d8f33
JS is minified if its average line length is greater than 100c
...
Fixes #27
2011-07-02 20:28:42 -05:00
Andreas Bolka
2707d1db67
Guess if .r is R or REBOL
...
.r is the default extension used widely for both, R and REBOL. This
patch attempts to guess if .r is a REBOL file by looking for the
following very common REBOL code fragments:
- `REBOL`
- `: func [`
- `make object! [`
- `context [`
If any of those is found in a .r file, it is identified as a REBOL file.
Otherwise the language for a .r file is R.
Signed-off-by: Andreas Bolka <a@bolka.at >
2011-06-29 01:42:50 +02:00
Joshua Peek
58e99aa5aa
Test blank file
2011-06-28 09:26:35 -05:00
Joshua Peek
ebba204ba3
Check for multiline shebang script hacks
...
Fixes #8
2011-06-27 17:35:48 -05:00
Joshua Peek
1fc07145b8
Lower generated line limit to 500c
2011-06-08 10:52:42 -05:00
Joshua Peek
0d53e863df
Remove blob fixture namespace
2011-06-07 10:32:23 -05:00
Joshua Peek
34a7889370
Illustrator files should be binary
2011-06-06 10:51:32 -05:00
Joshua Peek
60f958e733
Touch foo fixture
2011-06-02 12:42:38 -05:00
Joshua Peek
fb033b219c
Touch defunkt fixture
2011-06-02 12:30:54 -05:00
Joshua Peek
beee499fdc
Test nu shell
2011-06-01 22:42:17 -05:00
Joshua Peek
48250bf09c
Test gas file
2011-06-01 11:35:16 -05:00
Joshua Peek
61bdd3deaf
Guess .h language
2011-05-27 14:57:11 -05:00
Joshua Peek
817a234ab7
Reorder indexable checks to defer calling size
2011-05-27 14:28:37 -05:00
Joshua Peek
972632b9db
CoffeeScript JS guessing
2011-05-25 11:25:11 -05:00
Joshua Peek
d889887440
Detect minified JS
2011-05-24 14:16:05 -05:00
Joshua Peek
a69118bd17
Prefer extension over shebang
2011-05-21 17:41:43 -05:00
Joshua Peek
5edd3a02be
Detect language from shebang script
2011-05-13 16:18:30 -05:00
Joshua Peek
0009cbab89
Basic blob tests
2011-05-13 12:43:16 -05:00