Repository: incubator-wave
Updated Branches:
  refs/heads/wavy e01038043 -> a392df868


added new command to install missing gems


Project: http://git-wip-us.apache.org/repos/asf/incubator-wave/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-wave/commit/a392df86
Tree: http://git-wip-us.apache.org/repos/asf/incubator-wave/tree/a392df86
Diff: http://git-wip-us.apache.org/repos/asf/incubator-wave/diff/a392df86

Branch: refs/heads/wavy
Commit: a392df8681fde732c5351e743b3fbb3016cb36d6
Parents: e010380
Author: wisebaldone <[email protected]>
Authored: Fri Apr 29 00:12:08 2016 +1000
Committer: wisebaldone <[email protected]>
Committed: Fri Apr 29 00:12:08 2016 +1000

----------------------------------------------------------------------
 .travis.yml                | 1 +
 website/BUILD              | 6 ++++++
 website/README.md          | 5 +++--
 website/scripts/install.sh | 2 ++
 4 files changed, 12 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/a392df86/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index a8b2694..fa0ddcd 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -9,4 +9,5 @@ before_install:
 script:
   - bazel build //server:server
   - bazel test //server:test
+  - bazel run //website:install
   - bazel run //website:website

http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/a392df86/website/BUILD
----------------------------------------------------------------------
diff --git a/website/BUILD b/website/BUILD
index 95b80f5..eab5889 100644
--- a/website/BUILD
+++ b/website/BUILD
@@ -9,3 +9,9 @@ sh_binary(
     srcs = ["scripts/run.sh"],
     data = glob(["**/*"]),
 )
+
+sh_binary(
+    name = "install",
+    srcs = ["scripts/install.sh"],
+    data = glob(["**/*"])
+)

http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/a392df86/website/README.md
----------------------------------------------------------------------
diff --git a/website/README.md b/website/README.md
index 0e80905..123e878 100644
--- a/website/README.md
+++ b/website/README.md
@@ -19,8 +19,9 @@ Required:
 
 | Task | Description |
 | --- | --- |
-| bazel run //website:website | Builds the website |
-| bazel run //website:live | Runs a website live reload server locally |
+| bazel run //website:**website** | Builds the website |
+| bazel run //website:**live** | Runs a website live reload server locally |
+| bazel run //website:**install** | Installs missing gems |
 
 ## More Info
 

http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/a392df86/website/scripts/install.sh
----------------------------------------------------------------------
diff --git a/website/scripts/install.sh b/website/scripts/install.sh
new file mode 100755
index 0000000..89336f8
--- /dev/null
+++ b/website/scripts/install.sh
@@ -0,0 +1,2 @@
+cd website;
+bundle install

Reply via email to