You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/06/10 15:08:54 UTC
[whimsy] branch master updated: ensure npm install was run before
tests
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 <ru...@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" <co...@whimsical.apache.org>'].