Skip to content

Commit ccaee61

Browse files
authored
Merge pull request kubernetes-retired#6 from brahmaroutu/makefile_template
Basic makefile template to get release tools
2 parents 7ed5cac + 4a271c7 commit ccaee61

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed
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: container-object-storage-interface-controller/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)