Skip to content
This repository was archived by the owner on Dec 6, 2024. It is now read-only.

Commit b963927

Browse files
committed
Basic makefile template to get release tools
1 parent 5ff804c commit b963927

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

Diff for: .gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.tmp
2+
.DS_Store
3+
.build
4+
*.swp
5+
release-tools

Diff for: Makefile

+9-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@
1313
# limitations under the License.
1414

1515
#CMDS=cosi-controller-manager
16-
all: build
16+
all: reltools build
17+
.PHONY: reltools
18+
reltools: release-tools/build.make
19+
release-tools/build.make:
20+
$(eval CURDIR := $(shell pwd))
21+
$(eval TMP := $(shell mktemp -d))
22+
$(shell cd ${TMP} && git clone [email protected]:kubernetes-sigs/container-object-storage-interface-spec.git)
23+
$(shell cp -r ${TMP}/container-object-storage-interface-spec/release-tools ${CURDIR}/)
24+
$(shell rm -rf ${TMP})
1725

1826
include release-tools/build.make

0 commit comments

Comments
 (0)