Skip to content

Commit 05c38c8

Browse files
committed
Add v3 terms, and switch to native Hugo templating
1 parent e71e162 commit 05c38c8

File tree

8 files changed

+182
-908
lines changed

8 files changed

+182
-908
lines changed

Makefile

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
all: data/crosswalk.json
1+
all: data/crosswalk.json data/properties_description.json
22

33
# Download the latest crosswalk
44
data/crosswalk.csv:
@@ -7,3 +7,16 @@ data/crosswalk.csv:
77
# Convert crosswalk.csv to crosswalk.json so Hugo can parse it
88
data/crosswalk.json: data/crosswalk.csv
99
python3 scripts/crosswalk_to_json.py
10+
11+
# properties_description.csv file was only split off from crosswalks.csv starting with
12+
# v2.1, so we can't download v2.0 itself. There were no major changes between the two,
13+
# anyway.
14+
data/properties_description/v2.0.csv:
15+
wget https://github.com/codemeta/codemeta/raw/2.1/properties_description.csv -O $@
16+
17+
# Download properties descriptions for other versions
18+
data/properties_description/v%.csv:
19+
wget https://github.com/codemeta/codemeta/raw/$*/properties_description.csv -O $@
20+
21+
data/properties_description.json: data/properties_description/v2.0.csv data/properties_description/v3.0.csv
22+
python3 scripts/properties_to_json.py

content/terms.Rmd

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

0 commit comments

Comments
 (0)