whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ru...@apache.org
Subject [whimsy] branch master updated: ensure npm install was run before tests
Date Fri, 10 Jun 2016 15:08:54 GMT
This is an automated email from the ASF dual-hosted git repository.

rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git

The following commit(s) were added to refs/heads/master by this push:
       new  5c1e52d   ensure npm install was run before tests
5c1e52d is described below

commit 5c1e52d11a1a41b23b6e281c063ace2000fd0eb0
Author: Sam Ruby <rubys@intertwingly.net>
AuthorDate: Fri Jun 10 11:08:35 2016 -0400

    ensure npm install was run before tests
---
 www/board/agenda/Rakefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/www/board/agenda/Rakefile b/www/board/agenda/Rakefile
index 161dff7..1c14505 100644
--- a/www/board/agenda/Rakefile
+++ b/www/board/agenda/Rakefile
@@ -39,6 +39,10 @@ task "touch" do
   sh 'touch', File.expand_path('../tmp/restart.txt', __FILE__)
 end
 
+file 'node_modules' do
+  sh 'npm install'
+end
+
 file 'test/work' do
   mkdir_p 'test/work'
 end
@@ -96,7 +100,7 @@ task :work => ['test/work/board',
   *testfiles.map {|testfile| "test/work/data/#{testfile}.yml"}]
 
 namespace :test do
-  task :setup => [:reset, :work]
+  task :setup => [:reset, :work, 'node_modules']
   task :server => 'server:test'
 
   task :stress => :setup do

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <commits@whimsical.apache.org>'].

Mime
View raw message