diff options
author | Thedro Neely <thedroneely@gmail.com> | 2022-11-13 23:51:49 -0500 |
---|---|---|
committer | Thedro Neely <thedroneely@gmail.com> | 2022-11-13 23:51:49 -0500 |
commit | 652b9a5c7dea8854239d440fa3be4b5a3f599ecf (patch) | |
tree | e96e370b1d5361058c78ad88537f5651961085e1 | |
parent | 2e219c7804c208545b0500b7da21334a58575e86 (diff) | |
download | thedroneely.com-652b9a5c7dea8854239d440fa3be4b5a3f599ecf.tar.gz thedroneely.com-652b9a5c7dea8854239d440fa3be4b5a3f599ecf.tar.bz2 thedroneely.com-652b9a5c7dea8854239d440fa3be4b5a3f599ecf.zip |
Makefile: Compile references executable
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | Makefile | 6 |
2 files changed, 7 insertions, 1 deletions
@@ -6,7 +6,7 @@ /storage /vendor config.php -generators/exoference/exoference +generators/exoference generators/hugo/content generators/hugo/public generators/openring/openring @@ -24,6 +24,12 @@ quotes: strfile generators/fortune/quotes.fortune references: + DENO_DIR=generators/exoference/vendor && \ + deno compile \ + --allow-net \ + --no-check \ + --output generators/exoference/ \ + generators/exoference/main.ts find generators/hugo/content/posts -type f -name "*.md" -exec basename --suffix '.md' {} \; \ | while read -r file; do path="generators/hugo/themes/tdro/layouts/partials/references/$$file.html" \ && printf 'Gathering references for %s\n' "$$file" && [ ! -e "$$path" ] \ |