Created
May 5, 2024 22:19
-
-
Save marcusmueller/9280bc7482d4cb616d2e303c8afcf430 to your computer and use it in GitHub Desktop.
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
#!/bin/sh | |
modname="foobar" | |
blockname="nothing" | |
blocktype="hier" | |
rm -rf "gr-${modname}" | |
git commit --allow-empty -m "prior to modtool newmod" | |
gr_modtool newmod "${modname}" | |
echo "build/" > "gr-${modname}/.gitignore" | |
git add .gitignore "gr-${modname}/.gitignore" | |
git commit -m "gitignores" | |
git add "gr-${modname}" | |
git commit -m "Fresh OOT" | |
cd gr-"${modname}" | |
gr_modtool add --add-cpp-qa --block-type "${blocktype}" --copyright dontcare --lang cpp "${blockname}" | |
git add . | |
git commit -m "Added block" | |
mkdir build | |
cd build | |
cmake .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment