summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-11-24 02:34:00 -0500
committerKyle Meyer <kyle@kyleam.com>2014-11-24 02:34:00 -0500
commitadf11f9ce858f27c5b381e269c73b5ff3e48bef4 (patch)
tree9c1871c0edded9cc36f8c818b55c4a395248bd0f /scripts
parenteb41c5fa2dfe235d4a3b553acd67868ee77e7ccf (diff)
parent060e5d1997b32f646a95419924dd41fd7bf6d9b7 (diff)
downloadbog-adf11f9ce858f27c5b381e269c73b5ff3e48bef4.tar.gz
Merge pull request #3 from rranelli/master
Rename README to README.org
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/pre-commit4
-rw-r--r--scripts/readme-to-md.el13
2 files changed, 0 insertions, 17 deletions
diff --git a/scripts/pre-commit b/scripts/pre-commit
deleted file mode 100755
index 56890a7..0000000
--- a/scripts/pre-commit
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/env sh
-
-emacs --batch --load scripts/readme-to-md.el
-git add README.md
diff --git a/scripts/readme-to-md.el b/scripts/readme-to-md.el
deleted file mode 100644
index 41a8d05..0000000
--- a/scripts/readme-to-md.el
+++ /dev/null
@@ -1,13 +0,0 @@
-(defvar org-location "~/src/emacs/org-mode/lisp")
-
-(when (and org-location (file-exists-p org-location))
- (add-to-list 'load-path org-location)
- (require 'org))
-(require 'ox-md)
-
-(let ((readme-file "README")
- exported-file
- (final-file "README.md"))
- (with-current-buffer (find-file-noselect readme-file)
- (setq exported-file (org-md-export-to-markdown)))
- (rename-file exported-file final-file t))