Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Side by Side Diff: Tools/GardeningServer/makefile

Issue 462973002: Sheriff-O-Matic: Merge and update READMEs, add makefile for testing. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Tools/GardeningServer/README-mocha ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 NPM_VERSION := $(shell npm --version 2>/dev/null)
6 BOWER_VERSION := $(shell bower --version 2>/dev/null)
7
8 check:
9 ifndef NPM_VERSION
10 $(error npm not found. Install from nodejs.org or see README-mocha)
11 endif
12 ifndef BOWER_VERSION
13 @echo "bower not found. Installing:";
14 npm install -g bower
15 endif
16 @echo "npm and bower are available."
ojan 2014/08/12 03:36:39 I prefer tools that are silent as possible on succ
michaelpg 2014/08/12 16:37:16 Done.
17
18 update: check
19 bower update
20 npm update
21
22 test: check
23 xvfb-run ./node_modules/karma/bin/karma start
24
25 single-test: check
26 xvfb-run ./node_modules/karma/bin/karma start --single-run
27
28 .PHONY: check update test single-test
OLDNEW
« no previous file with comments | « Tools/GardeningServer/README-mocha ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698