Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
CCM
CCM Toolkit
Commits
12f61e58
Unverified
Commit
12f61e58
authored
Mar 01, 2019
by
Caleb Maclennan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start work on combined worklog
parent
c5bb5bd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
makefile-language
makefile-language
+17
-0
No files found.
makefile-language
View file @
12f61e58
...
...
@@ -34,3 +34,20 @@ BOOKMANIFESTS := $(foreach BOOK,$(BOOKS),book_$(BOOK)__$(_book)_$(BOOK)-manifest
.PHONY: language $(BOOKMANIFESTS)
language: $(BOOKMANIFESTS)
stats: reports/progress.pdf
combined-worklogs.sqlite: repository-worklog.sqlite $(foreach SUBMODULE,$(SUBMODULES),$(SUBMODULE)/repository-worklog.sqlite)
sqlite3 $@ 'DROP TABLE IF EXISTS commits; CREATE TABLE commits (sha TEXT, author TEXT, date DATE, file TEXT, added INT, removed INT)'
for db in $(filter %.sqlite,$^); do
sqlite3 $${db} .dump
done | sqlite3 $@
reports/progress.md: $(CCMTOOLKITDIR)/languages.yml $$(newcommits)
mkdir -p $(dir $@)
export PS4=; exec > $@ # black magic
echo ---
echo title: Progress log for $(call versioninfo,$(PROJECT))
echo date: $(shell LANG=$(LANGUAGE) date)
echo ---
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment