spec: add date in rendered config
This commit is contained in:
2
spec.ts
2
spec.ts
@@ -412,7 +412,7 @@ interface ConfigOptions {
|
||||
}
|
||||
|
||||
export function renderConfig(options: ConfigOptions) {
|
||||
return `# Rendered from TypeScript, do not edit!\n\n\n` + specTemplate
|
||||
return `# Rendered from TypeScript ${new Date().toLocaleString()}, do not edit!\n\n\n` + specTemplate
|
||||
.replace("@@GCCDIR@@", options.gccdir)
|
||||
.replace("@@OPTIMIZE@@", options.optimize);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user