Files missing from original commit

This commit is contained in:
Simon Brooke 2022-09-07 15:46:36 +01:00
parent 69314e946a
commit d2983908ee
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987
3 changed files with 25 additions and 1 deletions

2
.gitignore vendored
View file

@ -21,7 +21,7 @@ pom.xml.asc
.calva/ .calva/
.idea/ .idea/
*~ *~
list_audio.*
.calva/output-window/output.calva-repl .calva/output-window/output.calva-repl

12
project.clj Normal file
View file

@ -0,0 +1,12 @@
(defproject muharni "0.1.0-SNAPSHOT"
:description "Format a web page for students of muharni"
:url "https://www.journeyman.cc/muharni/"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:dependencies [[org.clojure/clojure "1.10.3"]
[clj-http "3.12.3"]
[enlive "1.1.6"]
[hiccup "1.0.5"]
[hickory "0.7.1"]
[com.github.jtidy/jtidy "1.0.2"]]
:repl-options {:init-ns muharni.construct})

12
src/sh/format-chars.awk Normal file
View file

@ -0,0 +1,12 @@
#!/usr/bin/awk -f
# Hackery to format the data structure for the entries.
BEGIN {printf( "[[ "); COL=0;}
{printf( "\"%s\" ", $1);
COL++;
if (COL == 12) {
COL=0;
printf(" ]\n[ ");
}}
END {print( " ]]");}