From 5a9162d197b771e6ef9e9a2c9a601b8318ca32df Mon Sep 17 00:00:00 2001 From: Terry Howe Date: Mon, 20 May 2024 05:13:51 -0600 Subject: [PATCH] chore: Add Makefile for consistency Signed-off-by: Terry Howe --- Makefile | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..08d8c15c --- /dev/null +++ b/Makefile @@ -0,0 +1,28 @@ +# Copyright The ORAS Authors. +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +.PHONY: build +build: install + npm run build + +.PHONY: install +install: + npm install + +.PHONY: serve +serve: build + npm run serve + +.PHONY: server +server: server + npm run serve