Skip to content

Commit

Permalink
Merge pull request #174 from arrowd/master
Browse files Browse the repository at this point in the history
 Add support for hjsmin minifier.
  • Loading branch information
totaam authored May 16, 2022
2 parents b944b81 + 9512aca commit e181fd1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ def install_html5(root="/", install_dir="/usr/share/xpra/www/", config_dir="/etc
"-o", dst,
"--compress",
]
elif minifer=="hjsmin":
minify_cmd = ["hjsmin", "-i", fsrc, "-o", dst]
else:
assert minifier=="yuicompressor"
try:
Expand Down Expand Up @@ -521,7 +523,7 @@ def main(args):
def help():
print("invalid number of arguments, usage:")
print("%s sdist" % (args[0],))
print("%s install [ROOT] [INSTALL_DIR] [MINIFIER]" % (args[0],))
print("%s install [ROOT] [INSTALL_DIR] [CONFIG_DIR] [MINIFIER]" % (args[0],))
print("%s deb" % (args[0],))
print("%s rpm" % (args[0],))
print("%s set-version VERSION" % (args[0],))
Expand Down

0 comments on commit e181fd1

Please sign in to comment.