summaryrefslogtreecommitdiff
path: root/admin
diff options
context:
space:
mode:
authorAnders Lindgren <andlind@gmail.com>2015-02-15 21:48:31 +0000
committerAnders Lindgren <andlind@gmail.com>2015-02-15 21:48:31 +0000
commit70fa6be83768adf78f20425d0d76fe809dc44d79 (patch)
tree94354b7bf1bf54f25078bc46a0b7eb947241ab17 /admin
parent800861d4727f543acec1b11716426b2944b1e246 (diff)
Support for multiple properties.
git-svn-id: https://dropofthesun.com/svn/emacs/repos/faceup/branches/github@1307 c1af6f96-8016-4733-90a2-447896f46de0
Diffstat (limited to 'admin')
-rw-r--r--admin/Rakefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/admin/Rakefile b/admin/Rakefile
new file mode 100644
index 0000000..29f49f9
--- /dev/null
+++ b/admin/Rakefile
@@ -0,0 +1,19 @@
+################################ -*- Ruby -*- #################################
+# Common tasks
+#
+
+desc "Generate README.md"
+task "readme" do
+ sh "emacs", "-batch", "-l", "../../el2markdown/el2markdown.el", \
+ "../faceup.el", "-f", "el2markdown-write-readme"
+end
+
+desc "Generating html"
+task "html" => ["readme"] do
+ File.open(File.join("..", "README.html"), "w") do |fh|
+ fh.puts("<head>")
+ fh.puts(" <meta charset=\"UTF-8\">")
+ fh.puts("</head>")
+ end
+ sh "Markdown.pl ../README.md >> ../README.html"
+end