Use new #? filter prefix in various places

This silences deprecation warnings and prevent collision with UNIX shebang.
This commit is contained in:
Adam Strzelecki 2015-09-30 12:38:18 +02:00
commit 700b63ad89
9 changed files with 9 additions and 9 deletions

View file

@ -1,4 +1,4 @@
#! stdtmpl | standard #? stdtmpl | standard
#proc generateHTMLPage(title, currentTab, content: string, #proc generateHTMLPage(title, currentTab, content: string,
# tabs: openArray[string]): string = # tabs: openArray[string]): string =
# result = "" # result = ""

View file

@ -1,4 +1,4 @@
#! stdtmpl #? stdtmpl
#proc sunsetTemplate*(current, ticker, content: string, #proc sunsetTemplate*(current, ticker, content: string,
# tabs: openarray[array[0..1, string]]): string = # tabs: openarray[array[0..1, string]]): string =
# result = "" # result = ""

View file

@ -1,4 +1,4 @@
#! stdtmpl(subsChar='?') | standard #? stdtmpl(subsChar='?') | standard
#proc generateBuildBatchScript(c: ConfigData, winIndex, cpuIndex: int): string = #proc generateBuildBatchScript(c: ConfigData, winIndex, cpuIndex: int): string =
# result = "@echo off\nREM Generated by niminst\n" # result = "@echo off\nREM Generated by niminst\n"
SET CC=gcc SET CC=gcc

View file

@ -1,4 +1,4 @@
#! stdtmpl(subsChar='?') | standard #? stdtmpl(subsChar='?') | standard
#proc generateBuildShellScript(c: ConfigData): string = #proc generateBuildShellScript(c: ConfigData): string =
# result = "#! /bin/sh\n# Generated from niminst\n" & # result = "#! /bin/sh\n# Generated from niminst\n" &
# "# Template is in tools/niminst/buildsh.tmpl\n" & # "# Template is in tools/niminst/buildsh.tmpl\n" &

View file

@ -1,4 +1,4 @@
#! stdtmpl(subsChar='?') | standard #? stdtmpl(subsChar='?') | standard
#proc generateDeinstallScript(c: ConfigData): string = #proc generateDeinstallScript(c: ConfigData): string =
# result = "#! /bin/sh\n# Generated by niminst\n" # result = "#! /bin/sh\n# Generated by niminst\n"
# var proj = c.name.toLower # var proj = c.name.toLower

View file

@ -1,4 +1,4 @@
#! stdtmpl | standard #? stdtmpl | standard
#proc generateInnoSetup(c: ConfigData): string = #proc generateInnoSetup(c: ConfigData): string =
# result = "" # result = ""
; Default Template for NimInst ; Default Template for NimInst

View file

@ -1,4 +1,4 @@
#! stdtmpl(subsChar = '?') | standard #? stdtmpl(subsChar = '?') | standard
#proc generateInstallScript(c: ConfigData): string = #proc generateInstallScript(c: ConfigData): string =
# result = "#! /bin/sh\n# Generated by niminst\n" # result = "#! /bin/sh\n# Generated by niminst\n"
# var proj = c.name.toLower # var proj = c.name.toLower

View file

@ -1,4 +1,4 @@
#! stdtmpl(subsChar='?') | standard #? stdtmpl(subsChar='?') | standard
#proc generateMakefile(c: ConfigData): string = #proc generateMakefile(c: ConfigData): string =
# result = "# Generated from niminst\n" & # result = "# Generated from niminst\n" &
# "# Template is in tools/niminst/makefile.tmpl\n" & # "# Template is in tools/niminst/makefile.tmpl\n" &

View file

@ -1,4 +1,4 @@
#! stdtmpl(subsChar='?') | standard #? stdtmpl(subsChar='?') | standard
#proc generateNsisSetup(c: ConfigData): string = #proc generateNsisSetup(c: ConfigData): string =
# result = "; NSIS script generated by niminst\n" & # result = "; NSIS script generated by niminst\n" &
# "; To regenerate run ``niminst nsis`` or ``koch nsis``\n" # "; To regenerate run ``niminst nsis`` or ``koch nsis``\n"