From: Ward Vandewege Date: Tue, 29 May 2018 13:55:06 +0000 (-0400) Subject: Add a Makefile with an initial test and build target. X-Git-Tag: 1.0.0~4 X-Git-Url: https://git.arvados.org/arvados-workbench2.git/commitdiff_plain/cbe3767087f3bb4daa35d991b63a435da9324298?hp=a92bb3822b537682ca621df3c05a458b9ae3420b Add a Makefile with an initial test and build target. No issue # Arvados-DCO-1.1-Signed-off-by: Ward Vandewege --- 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