Permalink
Browse files

"opentests.sh" and "watch.sh" convenience scripts

  • Loading branch information...
1 parent baa7004 commit 041396923d78b30714a1718f1a5185447f5548df @rklancer rklancer committed Feb 10, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −2 README.md
  2. +1 −0 opentests.sh
  3. +1 −0 watch.sh
View
@@ -26,15 +26,15 @@ To get started:
* `cd ..; cd smartgraphs-generator-integration` (trust the .rvmrc file)
* `bundle install --binstubs` (this should install the same gems that Smartgraphs uses.)
* You should now be able to run `bin/sc-server` in the root of the project
- * `open http://localhost:4020/static/smartgraphs_generator_integration/en/current/tests.html` to see the test results.
+ * `./opentests.sh` to see the test results (works on Macs, which have the `open` command; this script just runs `open http://localhost:4020/static/smartgraphs_generator_integration/en/current/tests.html`)
Have CoffeeScript watch for source file changes:
* Install node ( >= v0.6)
* Install the CoffeeScript package ( >= 1.2.0) if you haven't already (note: you might want to learn more about npm so you know what this command is doing)
* `npm install -g coffee-script`
* Tell CoffeeScript to watch the source folder for changes:
- * `coffee -o apps/smartgraphs_generator_integration -wc apps/smartgraphs_generator_integration/src`
+ * './watch.sh` (this script runs `coffee -o apps/smartgraphs_generator_integration -wc apps/smartgraphs_generator_integration/src`)
Git-committed symlinks (handy to know about if you are developing on Windows:)
View
@@ -0,0 +1 @@
+open http://localhost:4020/static/smartgraphs_generator_integration/en/current/tests.html
View
@@ -0,0 +1 @@
+coffee -o apps/smartgraphs_generator_integration -wc apps/smartgraphs_generator_integration/src

0 comments on commit 0413969

Please sign in to comment.