1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/obfuscatejs/files/obfuscatejs.in
Herve Quiroz 6e11b5eae6 ObfuscateJS compress your Javascript files.
The obfuscator currently removes whitespace and comments.
It renames variable names with a local scope to a shorter version,
and as an advanced option it renames all variables with a certain
prefix to a shorter name

WWW:	http://tools.2vi.nl/

PR:		98376
Submitted by:	Nicola Vitale <nivit@email.it>
2006-06-08 08:02:53 +00:00

5 lines
129 B
Bash

#!/bin/sh
# $FreeBSD$
JAVA_VERSION="%%JAVA_VERSION%%" \
exec "%%LOCALBASE%%/bin/java" -jar "%%OBFUSCATEJSJAR%%" Obfuscator "$@"