aboutsummaryrefslogtreecommitdiff
path: root/opdracht-1/build
diff options
context:
space:
mode:
Diffstat (limited to 'opdracht-1/build')
-rwxr-xr-xopdracht-1/build6
1 files changed, 6 insertions, 0 deletions
diff --git a/opdracht-1/build b/opdracht-1/build
new file mode 100755
index 0000000..17e3379
--- /dev/null
+++ b/opdracht-1/build
@@ -0,0 +1,6 @@
+#!/bin/bash
+cat reset.sql q*.sql | mysql -u root mysql
+for file in t*.sql; do
+ mysql -Hu root mysql < "$file" &> "${file/%.sql}.html"
+done
+m4 opdracht-1.m4 > opdracht-1.md