Permalink
Browse files

Create minify.php

  • Loading branch information...
1 parent 66d2a56 commit fb12309d8d10de1dff5d2a7692e25d670a4b41af @promatik committed Aug 26, 2013
Showing with 21 additions and 0 deletions.
  1. +21 −0 minify.php
View
@@ -0,0 +1,21 @@
+<body style="font-family: monospace;">
+<?php
+ include_once("minifier.php");
+
+ /* FILES ARRAYs
+ * Keys as input, Values as output */
+
+ $js = array(
+ "js/application.js" => "js/application.min.js",
+ "js/main.js" => "js/main.min.js"
+ );
+
+ $css = array(
+ "css/application.css" => "css/application.min.css",
+ "css/main.css" => "css/main.min.css"
+ );
+
+ minifyJS($js);
+ minifyCSS($css);
+?>
+</body>

0 comments on commit fb12309

Please sign in to comment.