From b98e17d0363de2e6069ed1953c085d2986b34a9e Mon Sep 17 00:00:00 2001 From: Srini Brahmaroutu Date: Tue, 17 Nov 2020 12:26:35 -0800 Subject: [PATCH] Adding basic make --- .gitignore | 5 +++++ Makefile | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..dda7f45d --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.tmp +.DS_Store +.build +*.swp +release-tools diff --git a/Makefile b/Makefile new file mode 100644 index 00000000..7814b556 --- /dev/null +++ b/Makefile @@ -0,0 +1,32 @@ +# Copyright 2020 The Kubernetes 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. + +#CMDS=cosi-controller-manager +all: genapi unit build +#.PHONY: reltools +#reltools: release-tools/build.make +#release-tools/build.make: +# $(eval CURDIR := $(shell pwd)) +# $(eval TMP := $(shell mktemp -d)) +# $(shell cd ${TMP} && git clone git@github.com:kubernetes-sigs/container-object-storage-interface-spec.git) +# $(shell cp -r ${TMP}/container-object-storage-interface-spec/release-tools ${CURDIR}/) +# $(shell rm -rf ${TMP}) + +build: +test: +unit: +genapi: +# $(shell ./hack/update-codegen.sh) + +#include release-tools/build.make