Permalink
Browse files

Single file build guide

  • Loading branch information...
1 parent 23ddae5 commit fd82001eb7976e2e7085728448fe3f86b4da9cbe @bjornharrtell bjornharrtell committed Jul 22, 2014
Showing with 31 additions and 1 deletion.
  1. +13 −0 guides.json
  2. +15 −0 guides/single_file_build/README.md
  3. +3 −1 jsduck.json
View
@@ -0,0 +1,13 @@
+[
+ {
+ "title": "Geo Ext 2 Guides",
+ "items": [
+ {
+ "name": "single_file_build",
+ "url": "guides/single_file_build",
+ "title": "Single file build",
+ "description": "Instructions on how to create a single file build of GeoExt 2 using either jsbuild or Sencha Cmd"
+ }
+ ]
+ }
+]
@@ -0,0 +1,15 @@
+# Sencha Cmd
+
+Assuming that you have Ext JS 4 SDK at the parent path ../ext-4.2.1.883 you can create a compressed full single file build with the following command line:
+
+ sencha -sdk ../ext-4.2.1.883 compile --classpath=src exclude -all and include -namespace GeoExt and concat -closure geoext2.js
+
+Refer to [this page](http://www.sencha.com/products/sencha-cmd) for more information about Sencha Cmd.
+
+# Jsbuild
+
+Assuming you have jsbuild available at command line simply run the following command to create a full single file build:
+
+ jsbuild ./build.cfg
+
+Refer to [this page](https://github.com/whitmo/jstools) for more information about jsbuild.
View
@@ -266,6 +266,8 @@
"OpenLayers.Symbolizer.Raster",
"OpenLayers.Spherical"
],
+ // Include the guides tab
+ "--guides": "guides.json",
// Include the examples tab
"--examples": "examples.json",
@@ -279,4 +281,4 @@
// if you wish to build with the ExtJS doc.
// ,"path/to/ext-4.2.1.883/src/"
]
-}
+}

0 comments on commit fd82001

Please sign in to comment.