Update README.md #8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Rename project using CMakeTemplateRenamer before building. | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: textbook/[email protected] | |
- name: Rename project, build, test | |
run: | | |
cd .. | |
git clone https://github.com/MattClarkson/CMakeTemplateRenamer | |
# Renamer arguments are: Existing folder name, new folder name, new project name, project description, new namespace[instead of mp::], delete git history[Y/N], python package name (optional) | |
yes Y | CMakeTemplateRenamer/rename.sh CMakeCatchTemplate WorkflowProject WorkflowProject "Tom's project" tp Y pyTom | |
cd WorkflowProject | |
mkdir build | |
cd build | |
cmake .. | |
make | |
cd WORKFLOWPROJECT-build/bin | |
# As we have renamed the project, the | |
./tpBasicTest | |
./tpCommandLineArgsTest 1 | |
./tpMyFirstApp |