Skip to content

Commit

Permalink
Makefile: add adr-gen command to download template from the .github r…
Browse files Browse the repository at this point in the history
…epo and create a new adr
  • Loading branch information
MSevey committed Apr 5, 2023
1 parent 0334749 commit 2f3d12f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 75 deletions.
9 changes: 9 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,12 @@ test-cover:
@echo "--> Generating coverage.txt"
@export VERSION=$(VERSION); bash -x scripts/test_cover.sh
.PHONY: test-cover

## adr-gen: Download the adr template from the celestiaorg/.github repo and
#create a new adr file with the provided adr number and title.
#
# Usage: make adr-gen NUM=016 TITLE=my-adr-title
adr-gen:
@echo "--> Generating adr template"
@curl -sSL https://raw.githubusercontent.com/celestiaorg/.github/main/adr-template.md > docs/architecture/adr-$(NUM)-$(TITLE).md
.PHONY: adr-gen
75 changes: 0 additions & 75 deletions docs/architecture/adr-template.md

This file was deleted.

0 comments on commit 2f3d12f

Please sign in to comment.