@@ -21,37 +21,31 @@ checker to verify character encoding, such as UTF-8.
2121 * use ` gsed ` from coreutils instead of MacOS ` sed ` , or
2222 * anywhere the instructions say ` sed -i ` , instead use ` sed -i '' `
2323
24- <!-- markdownlint-disable line-length -->
2524 ``` sh
2625 LC_ALL=C find . -name .git -prune -o -type f -exec sed -i -e ' s/TemplateForA/Character Encoding/g' {} \;
2726 ```
28- <!-- markdownlint-enable line-length -->
2927
30282 . Choose a name for the implementation class (e.g., "CharEncoding"), and
3129 change every occurrence of "Templatefora" to "CharEncoding".
3230 This includes in file names (rename several files including
3331 ` src/main/java/org/checkerframework/checker/templatefora/TemplateforaChecker.java ` ).
3432 These commands make the changes:
3533
36- <!-- markdownlint-disable line-length -->
3734 ``` sh
3835 LC_ALL=C find . -name .git -prune -o -type f -exec sed -i -e ' s/Templatefora/CharEncoding/g' {} \;
3936 find . -name ' *Templatefora*' -exec bash -c ' mv $0 ${0/Templatefora/CharEncoding}' {} \;
4037 ```
41- <!-- markdownlint-enable line-length -->
4238
43393 . Choose a directory/package name (e.g., "charencoding"), and
4440 Change every occurrence of "templatefora" to "charencoding".
4541 This includes in file names (for example, rename directories
4642 ` src/main/java/org/checkerframework/checker/templatefora/ ` and ` tests/templatefora/ ` ).
4743 These commands make the changes:
4844
49- <!-- markdownlint-disable line-length -->
5045 ``` sh
5146 LC_ALL=C find . -name .git -prune -o -type f -exec sed -i -e ' s/templatefora/charencoding/g' {} \;
5247 for file in $( find . -name ' *templatefora*' ) ; do mv $file ${file/ templatefora/ charencoding} ; done
5348 ```
54- <!-- markdownlint-enable line-length -->
5549
56504 . Change the groupId of the ` publishing ` block in the ` build.gradle ` file
5751 to an organization you belong to that can publish to Maven
@@ -62,12 +56,10 @@ checker to verify character encoding, such as UTF-8.
6256 ` org/checkerframework/checker/templatefora ` with whatever name you have chosen.
6357 These commands make the changes within files but do not rename directories:
6458
65- <!-- markdownlint-disable line-length -->
6659 ``` sh
6760 LC_ALL=C find . -type f -exec sed -i -e ' s/org\.checkerframework\.checker\.templatefora/my.organization.templatefora/g' {} \;
6861 LC_ALL=C find . -type f -exec sed -i -e ' s:org/checkerframework/checker/templatefora:my/organization/templatefora:g' {} \;
6962 ```
70- <!-- markdownlint-enable line-length -->
7163
72645 . Change the copyright info in the ` LICENSE ` file. You may change the license
7365 as well, if you wish.
0 commit comments