From cbe3767087f3bb4daa35d991b63a435da9324298 Mon Sep 17 00:00:00 2001 From: Ward Vandewege Date: Tue, 29 May 2018 09:55:06 -0400 Subject: [PATCH] Add a Makefile with an initial test and build target. No issue # Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- Makefile | 23 +++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 25 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..f2f61f7e --- /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 diff --git a/README.md b/README.md index bfeb1677..4cfe3845 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,9 @@ Install [redux-devtools-extension](https://chrome.google.com/webstore/detail/red yarn start ##### Run tests +yarn install yarn test ##### Production build +yarn install yarn build -- 2.30.2