Skip to content

Commit cc456cd

Browse files
committed
don't generate stats
1 parent 28ae939 commit cc456cd

3 files changed

Lines changed: 1 addition & 33 deletions

File tree

Makefile

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ TEX_PY := Scripts/tex.py
1818
TEX_SRC := Sources/expr.tex
1919
VOCAB_PY := Scripts/vocab.py
2020

21-
TARGETS := $(AWS) $(ENG) $(INDO_VOCAB) $(NATO) $(PERSIAN) $(POW) $(STATS) $(TEX_OUT) README.md
21+
TARGETS := $(AWS) $(ENG) $(INDO_VOCAB) $(NATO) $(PERSIAN) $(POW) $(STATS) $(TEX_OUT)
2222

2323
.PHONY: all
2424
all: $(TARGETS)
@@ -47,10 +47,6 @@ $(STATS): Cards/**.md
4747
$(TEX_OUT): $(TEX_PY) $(TEX_SRC)
4848
$(PY) $(TEX_PY) $(TEX_SRC) $(TEX_OUT)
4949

50-
README.md: stats.json Sources/README.tmpl.md
51-
CARDS_IN_DECK=$$(hashcards stats Cards --format=json | jq -r .cardsInDeckCount); \
52-
sed "s/CARDS_IN_DECK/$$CARDS_IN_DECK/" Sources/README.tmpl.md > README.md
53-
5450
.PHONY: check
5551
check:
5652
hashcards check Cards

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44

55
My collection of flashcards, using [hashcards].
66

7-
## Stats
8-
9-
- Number of cards in the deck: 1131
10-
117
## Structure
128

139
- `Cards`: the actual flashcards.

Sources/README.tmpl.md

Lines changed: 0 additions & 24 deletions
This file was deleted.

0 commit comments

Comments
 (0)