hjsmin 0.2.0.0 → 0.2.0.1
raw patch · 2 files changed
+12/−2 lines, 2 files
Files
- hjsmin.cabal +1/−1
- hjsmin.hs +11/−1
hjsmin.cabal view
@@ -1,5 +1,5 @@ name: hjsmin-version: 0.2.0.0+version: 0.2.0.1 license: BSD3 license-file: LICENSE author: Alan Zimmerman <alan.zimm@gmail.com>
hjsmin.hs view
@@ -1,5 +1,8 @@+{-# LANGUAGE CPP #-} module Main where +#include "cabal_macros.h"+ import Options.Applicative import Text.Jasmine @@ -18,7 +21,10 @@ where opts = info (helper <*> options) ( fullDesc- <> progDesc "Minify JavaScript files."+ <> progDesc+ ( "Minify JavaScript files (using language-javascript version "+ ++ languageJavascriptVersion ++ ")."+ ) <> header "hjsmin - a simple command-line interface to the 'hjsmin' library" ) @@ -39,3 +45,7 @@ case outputFile o of Nothing -> C8.putStrLn minified Just f -> B.writeFile f minified+++languageJavascriptVersion :: String+languageJavascriptVersion = VERSION_language_javascript