Add a Makefile with an initial test and build target.
authorWard Vandewege <wvandewege@veritasgenetics.com>
Tue, 29 May 2018 13:55:06 +0000 (09:55 -0400)
committerWard Vandewege <wvandewege@veritasgenetics.com>
Tue, 29 May 2018 13:56:31 +0000 (09:56 -0400)
No issue #

Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <wvandewege@veritasgenetics.com>

Makefile [new file with mode: 0644]
README.md

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..f2f61f7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: Apache-2.0
+
+export WORKSPACE?=$(shell pwd)
+help:
+       @echo >&2
+       @echo >&2 "There is no default make target here.  Did you mean 'make test'?"
+       @echo >&2
+       @echo >&2 "More info:"
+       @echo >&2 "  Installing              --> http://doc.arvados.org/install"
+       @echo >&2 "  Developing/contributing --> https://dev.arvados.org"
+       @echo >&2 "  Project home            --> https://arvados.org"
+       @echo >&2
+       @false
+
+test:
+       @yarn install
+       @yarn test      --no-watchAll
+
+build:
+       @yarn install
+       @yarn build
index bfeb1677adfa9f15d5217b3755018de4f28d9e8d..4cfe3845cbe050884a2fd0a6b165b91b9d4022e3 100644 (file)
--- a/README.md
+++ b/README.md
@@ -11,7 +11,9 @@ Install [redux-devtools-extension](https://chrome.google.com/webstore/detail/red
 <code>yarn start</code>
 
 ##### Run tests
 <code>yarn start</code>
 
 ##### Run tests
+<code>yarn install</code>
 <code>yarn test</code>
 
 ##### Production build
 <code>yarn test</code>
 
 ##### Production build
+<code>yarn install</code>
 <code>yarn build</code>
 <code>yarn build</code>