git subrepo clone git@github.com:compihu/platform-test-f4-ll.git platforms/platform-test-f4-ll

subrepo:
  subdir:   "platforms/platform-test-f4-ll"
  merged:   "bc41134"
upstream:
  origin:   "git@github.com:compihu/platform-test-f4-ll.git"
  branch:   "master"
  commit:   "bc41134"
git-subrepo:
  version:  "0.4.3"
  origin:   "https://github.com/ingydotnet/git-subrepo"
  commit:   "87ee373"
This commit is contained in:
Attila Body 2021-02-24 21:46:35 +01:00
parent 46ce55c6a0
commit 95af4ce0d8
460 changed files with 84105 additions and 0 deletions

View file

@ -0,0 +1,30 @@
The New*.sh scripts are helpful for creating the initial files for a new class...
NewClass.sh - for TDDing a new C++ class
NewInterface.sh - for TDDing a new interface along with its Mock
NewCModule.sh - for TDDing a C module
NewCmiModule.sh - for TDDing a C module where there will be multiple
instances of the module's data structure
Run InstallScripts.sh to
1) Copy the scripts to /usr/local/bin
2) Define symbolic links for each of the scripts
Like this:
./scripts/InstallScripts.sh
You might have to add the execute privilege to the shell scripts.
Like this:
chmod +x *.sh
Using NewClass for example:
cd to the directory where you want the files located
NewClass SomeClass
The script gets you ready for TDD and saves a lot of tedious typing
Creates SomeClass.h SomeClass.cpp SomeClassTest.cpp
with the class and test essentials in place
(If the file already exists, no file is generated)
These scripts are written in bash.