aboutsummaryrefslogtreecommitdiff
path: root/opdracht-1
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2022-10-04 20:48:36 +0200
committerlonkaars <loek@pipeframe.xyz>2022-10-04 20:48:36 +0200
commit7514bd355d109c8cab953d152e7f06a03687ed95 (patch)
tree57e3f45eee99ff24f7619f1dfdaaf65998a0be19 /opdracht-1
parent25de6db1afc10c984d02a97b1c1d916abfcd82bf (diff)
move shared templating code to common.m4
Diffstat (limited to 'opdracht-1')
-rw-r--r--opdracht-1/opdracht-1.m434
1 files changed, 1 insertions, 33 deletions
diff --git a/opdracht-1/opdracht-1.m4 b/opdracht-1/opdracht-1.m4
index 59b85eb..fbb1a89 100644
--- a/opdracht-1/opdracht-1.m4
+++ b/opdracht-1/opdracht-1.m4
@@ -1,37 +1,5 @@
changequote(`{{', `}}')
-
-define({{include_sql}}, {{
-```sql
-include({{$1.sql}})
-```
-}})
-
-define({{q_norm}}, {{
-## Opdracht $1
-
-Query:
-include_sql({{q$1}})
-}})
-
-define({{q_with_output}}, {{
-## Opdracht $1
-
-Query:
-include_sql({{t$1}})
-
-Output:
-include({{t$1.md}})
-}})
-
-define({{q_with_test}}, {{
-q_norm($1)
-
-Test query:
-include_sql({{t$1}})
-
-Output:
-include({{t$1.md}})
-}})
+include({{../common.m4}})
# Practicum 1