summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorThomas Letan <lthms@soap.coffee>2020-02-22 16:15:08 +0100
committerThomas Letan <lthms@soap.coffee>2020-02-22 16:15:08 +0100
commitd50ee0c558512b908372af0186b15407c452dbd1 (patch)
tree20a349c722a311e59095123fbb49fcff08bc84f3 /scripts
parentMake ~make~ to call itself with the `build` rule when none is given (diff)
Use `tangle-org.el' during bootstrap
Diffstat (limited to 'scripts')
-rw-r--r--scripts/tangle-org.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/tangle-org.el b/scripts/tangle-org.el
new file mode 100644
index 0000000..40c152f
--- /dev/null
+++ b/scripts/tangle-org.el
@@ -0,0 +1,8 @@
+(require 'org)
+(cd (getenv "ROOT"))
+(setq org-confirm-babel-evaluate nil)
+(setq org-src-preserve-indentation t)
+(org-babel-do-load-languages
+ 'org-babel-load-languages
+ '((shell . t)))
+(org-babel-tangle)