aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/util_cgi_d_sqlite_search.org
diff options
context:
space:
mode:
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";