aboutsummaryrefslogtreecommitdiff
path: root/BUILDING.md
diff options
context:
space:
mode:
authorCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2024-10-26 15:25:44 -0500
committerCollin Williams <96917990+bluedragon1221@users.noreply.github.com>2024-10-26 15:25:44 -0500
commit456324a035fa46b13379b9f3111eae6b73ec8f19 (patch)
tree2ab2b596a98b1a942fd96bfa342736dccd788e52 /BUILDING.md
parent7ec8af3cd9dbc4d069585acc5d8c7b755a00d85f (diff)
add writeups of the build process and how the repo works
Diffstat (limited to 'BUILDING.md')
-rw-r--r--BUILDING.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/BUILDING.md b/BUILDING.md
new file mode 100644
index 0000000..d39e5c5
--- /dev/null
+++ b/BUILDING.md
@@ -0,0 +1,25 @@
+# Building this Project
+
+For a quick-and-dirty build, just run `make all`.
+To specify the directory to build into, you can pass in BUILD_DIR, e.g. `make BUILD_DIR=../_build all`.
+
+Although the project is quite fast to build, we support [parallel execution](https://www.gnu.org/software/make/manual/html_node/Parallel.html).
+This means you can pass the `-j` flag followed by the number of cores to compile markdown files in parallel.
+
+## Git Build (for maintainers)
+This is my general process:
+```bash
+export BUILD_DIR=$(mktemp -d)
+make all
+
+git checkout build
+cp -r $BUILD_DIR/* .
+
+git add .
+git commit -m "build: $(date)"
+git push
+
+unset BUILD_DIR
+```
+
+_(CI/CD is scary, so I avoid it)_