From: Ben Beltran Date: Tue, 12 Aug 2014 02:03:24 +0000 (-0500) Subject: Prepare bower with a concatenated file. X-Git-Tag: v0.1.3~1 X-Git-Url: https://git.r.bdr.sh/rbdr/serpentity/commitdiff_plain/74892a8fd50cdc2a1294d776dc246912de9f94d5?hp=--cc Prepare bower with a concatenated file. --- 74892a8fd50cdc2a1294d776dc246912de9f94d5 diff --git a/README.md b/README.md index 4d73f18..6703b5f 100644 --- a/README.md +++ b/README.md @@ -95,12 +95,9 @@ Just run `engine.update(dt)` in your game loop :D ## Checking it in the frontend (dev). -You can link the bower package (bower.json is in `lib/serpentity/` to -make paths cleaner), then link it again from the root directory and -spawn a python server (`python -m SimpleHTTPServer`). The test page -will be available in `http://localhost:8000/browser_test/` - -If you just want to use it, it's available as a bower package! +You can link the bower package to test it out locally. +Spawn a python server (`python -m SimpleHTTPServer`) to see +the test page in `http://localhost:8000/browser_test/` ## TO-DO diff --git a/lib/serpentity/bower.json b/bower.json similarity index 75% rename from lib/serpentity/bower.json rename to bower.json index d93dd89..ebd6bcd 100644 --- a/lib/serpentity/bower.json +++ b/bower.json @@ -7,12 +7,7 @@ ], "description": "A simple entity framework inspired by ash", "main": [ - "./serpentity.js", - "./entity.js", - "./node.js", - "./node_collection.js", - "./component.js", - "./system.js" + "./dist/serpentity.js" ], "keywords": [ "entity" @@ -23,7 +18,13 @@ "node_modules", "bower_components", "test", - "tests" + "tests", + "bin", + "browser_test", + "LICENSE", + "bower.json", + "README.md", + "lib" ], "dependencies": { "neon": "*" diff --git a/browser_test/index.html b/browser_test/index.html index 3be1f38..82921b7 100644 --- a/browser_test/index.html +++ b/browser_test/index.html @@ -3,12 +3,7 @@ Serpentity Browser Test - - - - - - +