Skip to content

Commit

Permalink
fix: update Makefile to count only Markdown files in _drafts
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanee committed Apr 21, 2024
1 parent 442fb93 commit 2a21b05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ update:
bundle update

leftover:
@current_drafts=$$(ls -al _drafts | wc -l); \
@current_drafts=$$(ls -al _drafts/*.md | wc -l); \
months_left=$$(echo "scale=2; ($$current_drafts / (1 * 4.33))" | bc); \
rounded_months=$$(echo $$months_left | awk '{print int($$1+0.99)}'); \
echo "Current drafts: $$current_drafts"; \
Expand Down

0 comments on commit 2a21b05

Please sign in to comment.