Skip to content

Commit

Permalink
ci: make target lint-c
Browse files Browse the repository at this point in the history
  • Loading branch information
sethfischer committed Jun 11, 2021
1 parent 691cb43 commit a58a097
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ jobs:
- name: Lint Cpp source
run: |
sudo apt-get -y install clang-format
bash lint-c.sh
make lint-c
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.PHONY: lint
lint: lint-c

.PHONY: lint-c
lint-c:
./$@.sh

0 comments on commit a58a097

Please sign in to comment.