parent
d89c815c41
commit
b5448bf25c
15 changed files with 23 additions and 15 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#? stdtmpl(subsChar='?') | standard
|
||||
#proc generateBuildShellScript(c: ConfigData): string =
|
||||
# result = "#! /bin/sh\n# Generated from niminst\n" &
|
||||
# "# Template is in tools/niminst/buildsh.tmpl\n" &
|
||||
# "# Template is in tools/niminst/buildsh.nimf\n" &
|
||||
# "# To regenerate run ``niminst csource`` or ``koch csource``\n"
|
||||
|
||||
set -e
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
#? stdtmpl(subsChar='?') | standard
|
||||
#proc generateMakefile(c: ConfigData): string =
|
||||
# result = "# Generated from niminst\n" &
|
||||
# "# Template is in tools/niminst/makefile.tmpl\n" &
|
||||
# "# Template is in tools/niminst/makefile.nimf\n" &
|
||||
# "# To regenerate run ``niminst csource`` or ``koch csource``\n"
|
||||
|
||||
CC ??= gcc
|
||||
|
|
@ -126,13 +126,13 @@ proc skipRoot(f: string): string =
|
|||
inc i
|
||||
if result.len == 0: result = f
|
||||
|
||||
include "inno.tmpl"
|
||||
include "nsis.tmpl"
|
||||
include "buildsh.tmpl"
|
||||
include "makefile.tmpl"
|
||||
include "buildbat.tmpl"
|
||||
include "install.tmpl"
|
||||
include "deinstall.tmpl"
|
||||
include "inno.nimf"
|
||||
include "nsis.nimf"
|
||||
include "buildsh.nimf"
|
||||
include "makefile.nimf"
|
||||
include "buildbat.nimf"
|
||||
include "install.nimf"
|
||||
include "deinstall.nimf"
|
||||
|
||||
# ------------------------- configuration file -------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -71,7 +71,7 @@ proc initConfigData(c: var TConfigData) =
|
|||
c.gitCommit = output.strip
|
||||
c.quotations = initTable[string, tuple[quote, author: string]]()
|
||||
|
||||
include "website.tmpl"
|
||||
include "website.nimf"
|
||||
|
||||
# ------------------------- configuration file -------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue