aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/util_cgi_d_sqlite_search.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-06-27 15:27:05 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2021-06-28 14:39:52 -0400
commit4e84f496adb538db3d3fc75134d6e05086332bf9 (patch)
treefab98dc3b98839a6a3457bd340074e96a5d2f094 /org/util_cgi_d_sqlite_search.org
parentnix-build cleanup, external sources localized (diff)
org-mode code block headers
Diffstat (limited to 'org/util_cgi_d_sqlite_search.org')
-rw-r--r--org/util_cgi_d_sqlite_search.org10
1 files changed, 7 insertions, 3 deletions
diff --git a/org/util_cgi_d_sqlite_search.org b/org/util_cgi_d_sqlite_search.org
index 4b667dd..9ce40e3 100644
--- a/org/util_cgi_d_sqlite_search.org
+++ b/org/util_cgi_d_sqlite_search.org
@@ -14,6 +14,7 @@
#+PROPERTY: header-args+ :results no
#+PROPERTY: header-args+ :cache no
#+PROPERTY: header-args+ :padline no
+#+PROPERTY: header-args+ :mkdirp yes
[[./spine.org][spine.org]] [[../org/][org/]]
[[./spine_build_scaffold.org][make/build]]
@@ -25,7 +26,8 @@ dub --force --compiler=ldc2 && sudo cp -v cgi-bin/spine-search /usr/lib/cgi-bin/
** set program tangle
-#+BEGIN_SRC d :tangle "../misc/util/d/cgi/search/src/spine_cgi_sqlite_search.d"
+#+HEADER: :tangle "../misc/util/d/cgi/search/src/spine_cgi_sqlite_search.d"
+#+BEGIN_SRC d
<<cgi_sqlite_head>>
<<cgi_sqlite_imports>>
void cgi_function_intro(Cgi cgi) {
@@ -1210,7 +1212,8 @@ LIMIT %s OFFSET %s
* cgi-search dub.sdl
-#+BEGIN_SRC d :tangle "../misc/util/d/cgi/search/dub.sdl"
+#+HEADER: :tangle "../misc/util/d/cgi/search/dub.sdl"
+#+BEGIN_SRC d
name "spine_search"
description "A minimal D application."
authors "ralph"
@@ -1242,7 +1245,8 @@ configuration "default" {
* cgi-search README
-#+BEGIN_SRC text :tangle "../misc/util/d/cgi/search/README"
+#+HEADER: :tangle "../misc/util/d/cgi/search/README"
+#+BEGIN_SRC text
change db name to match name of db you create
cv.db_selected = "spine.search.sql.db";