Commits

Anonymous committed 70d72b1

build script for optimized version

  • Participants
  • Parent commits 0db10e7

Comments (0)

Files changed (3)

build-parameters.js

+({
+    baseUrl: ".",
+    paths: { },
+    name: "application",
+    out: "application-built.js"
+})

build.js

-({
-    baseUrl: ".",
-    paths: {
-        jquery: "some/other/jquery"
-    },
-    name: "application",
-    out: "application-built.js"
-})
+#!/bin/sh
+node r.js -o build-parameters.js
+sed s/application\.js/application-built.js/g t > github/index.html
+mv application-built.js github