Permalink
Browse files

moved public -> browser, deploys to public

  • Loading branch information...
1 parent 7de9718 commit 69536329444a357466ceb6a8f60848da3f9bc416 @coolaj86 coolaj86 committed May 13, 2012
File renamed without changes.
File renamed without changes.
View
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+DEPLOY_DIR='../public'
+
+rm -rf ${DEPLOY_DIR}
+mkdir -p ${DEPLOY_DIR}
+
+lessc style.less > style.css
+mv style.css ${DEPLOY_DIR}
+
+jade index.jade # index.html
+mv index.html ${DEPLOY_DIR}
+
+pakmanager build
+#uglifyjs pakmanager.js > pakmanager.min.js
+mv pakmanager.js ${DEPLOY_DIR}
+rm pakmanager*
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,4 +0,0 @@
-#!/bin/bash
-lessc style.less > style.css
-jade index.jade # index.html
-pakmanager build
View
@@ -1,23 +0,0 @@
-(function () {
- "use strict";
-
- var stdin = process.openStdin()
- , key = process.argv[2].split('.')
- , json = ''
- ;
-
- stdin.on('data', function (chunk) {
- json += chunk;
- });
-
- stdin.on('end', function () {
- var data = JSON.parse(json)
- ;
-
- key.forEach(function (k) {
- data = data[k];
- });
-
- console.log(data);
- });
-}());
File renamed without changes.

0 comments on commit 6953632

Please sign in to comment.