Browse Source

fix: change tcl scripts

master
Dennis Buchhorn 2 years ago
parent
commit
a77101d227
4 changed files with 13 additions and 4 deletions
  1. +13
    -4
      init_after_clone
  2. +0
    -0
      tcl_scripts/import_platform_and_projects.tcl
  3. +0
    -0
      tcl_scripts/import_platform_only.tcl
  4. +0
    -0
      tcl_scripts/platform_create.tcl

+ 13
- 4
init_after_clone View File

@ -6,14 +6,23 @@ else
if [ -f "README_PROJECT_TEMPLATE.md" ]; then
echo "First run after creation from template."
rm -f README.md
mv README_PROJECT_TEMPLATE.md README.md
touch .repo_initialized
echo "This file is checked by the 'init_after_clone' script." >> .repo_initialized
rm -f README.md
mv README_PROJECT_TEMPLATE.md README.md
git add README.md README_PROJECT_TEMPLATE.md
git commit -m "chore: replace template readme"
git commit -m "chore: from init_after_clone script: replace template readme"
mv tcl_scripts/import_platform_and_projects.tcl tcl_scripts/import_platform_and_projects.tcl.gitsubstitute
mv tcl_scripts/import_platform_only.tcl tcl_scripts/import_platform_only.tcl.gitsubstitute
mv tcl_scripts/platform_create.tcl tcl_scripts/platform_create.tcl.gitsubstitute
git add -f tcl_scripts/import_platform_and_projects.tcl tcl_scripts/import_platform_and_projects.tcl.gitsubstitute
git add -f tcl_scripts/import_platform_only.tcl tcl_scripts/import_platform_only.tcl.gitsubstitute
git add -f tcl_scripts/platform_create.tcl tcl_scripts/platform_create.tcl.gitsubstitute
git commit -m "chore: from init_after_clone script: replace tcl scripts"
git config --local core.hooksPath .githooks


tcl_scripts/import_platform_and_projects.tcl.gitsubstitute → tcl_scripts/import_platform_and_projects.tcl View File


tcl_scripts/import_platform_only.tcl.gitsubstitute → tcl_scripts/import_platform_only.tcl View File


tcl_scripts/platform_create.tcl.gitsubstitute → tcl_scripts/platform_create.tcl View File


Loading…
Cancel
Save