From 83ab6d127b463fd0377bf520e87cfc0d82d36c3c Mon Sep 17 00:00:00 2001 From: Martin Vladic Date: Wed, 13 Jul 2022 09:57:44 +0200 Subject: [PATCH] update post.js --- .gitignore | 4 +++- .settings/language.settings.xml | 4 ++-- template/post.js | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1a42490..35ca51f 100644 --- a/.gitignore +++ b/.gitignore @@ -15,4 +15,6 @@ Release org.eclipse.cdt.core.prefs -sync.ffs_db \ No newline at end of file +sync.ffs_db + +.settings \ No newline at end of file diff --git a/.settings/language.settings.xml b/.settings/language.settings.xml index e9abc67..591af6e 100644 --- a/.settings/language.settings.xml +++ b/.settings/language.settings.xml @@ -5,7 +5,7 @@ - + @@ -16,7 +16,7 @@ - + diff --git a/template/post.js b/template/post.js index 2482565..80e8c6a 100644 --- a/template/post.js +++ b/template/post.js @@ -25,6 +25,8 @@ * @param {WizardContext} context */ async function postProcessing(context) { + await context.replaceInFile("CMakeLists.txt", "eez-flow-template-sdl", context.projectName); + await context.replaceInFile("README.md", "{{projectDirPath}}", context.projectDirPath); await context.replaceInFile("README.md", "{{projectName}}", context.projectName);