summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorrenan-ranelli <renanranelli@gmail.com>2014-11-24 01:55:34 -0200
committerrenan-ranelli <renanranelli@gmail.com>2014-11-24 01:55:34 -0200
commit060e5d1997b32f646a95419924dd41fd7bf6d9b7 (patch)
treed05100bde6b4fce93be6016995b166013441b975 /scripts
parent3c85640bb42c0fbe586255336d4bef27d942b515 (diff)
downloadbog-060e5d1997b32f646a95419924dd41fd7bf6d9b7.tar.gz
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))