Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

  • Loading branch information...
commit 041396923d78b30714a1718f1a5185447f5548df 1 parent baa7004
@rklancer rklancer authored
Showing with 4 additions and 2 deletions.
  1. +2 −2 README.md
  2. +1 −0  opentests.sh
  3. +1 −0  watch.sh
View
4 README.md
@@ -26,7 +26,7 @@ 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:
@@ -34,7 +34,7 @@ Have CoffeeScript watch for source file changes:
* 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
1  opentests.sh
@@ -0,0 +1 @@
+open http://localhost:4020/static/smartgraphs_generator_integration/en/current/tests.html
View
1  watch.sh
@@ -0,0 +1 @@
+coffee -o apps/smartgraphs_generator_integration -wc apps/smartgraphs_generator_integration/src
Please sign in to comment.
Something went wrong with that request. Please try again.