fix #9647 tmpl=>nimf (#9658)

This commit is contained in:
Timothee Cour 2018-11-13 23:27:48 -08:00 • committed by Andreas Rumpf
commit b5448bf25c
15 changed files with 23 additions and 15 deletions

View file

@ -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

View file

@ -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

View file

@ -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 -------------------------------

View 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 -------------------------------