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
parent 4071219e20
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,
# tabs: openArray[string]): string =
# result = ""

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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