Skip to content

Commit

Permalink
Merge pull request #348 from uhooi/feature/update_run_scripts
Browse files Browse the repository at this point in the history
Update Run Script
  • Loading branch information
uhooi committed Sep 22, 2022
2 parents 0ad7ce4 + f22268b commit 77a15dd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions App/Develop.xcodeproj/project.pbxproj
Expand Up @@ -643,7 +643,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "#git_path=/usr/local/bin/git\n#files=$($git_path diff --diff-filter=d --name-only -- \"*.swift\" \"*.h\" \"*.m\")\n#if (test -z $files) || (test ${#files[@]} -eq 0); then\n# echo \"no files changed.\"\n# exit 0\n#fi\n#\n#options=\"\"\n#for file in $files\n#do\n# options=\"$options $SRCROOT/../$file\"\n#done\n#\n#SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\n#../Tools/UhooiPicBookTools/.build/release/SpellChecker --yml $SRCROOT/../.spell-checker.yml -- $options\n\n";
shellScript = "#git_path=/usr/local/bin/git\n#files=$($git_path diff --diff-filter=d --name-only -- \"*.swift\" \"*.h\" \"*.m\")\n#if (test -z $files) || (test ${#files[@]} -eq 0); then\n# echo \"no files changed.\"\n# exit 0\n#fi\n#\n#options=\"\"\n#for file in $files\n#do\n# options=\"$options $SRCROOT/../$file\"\n#done\n#\n#SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\n#SPELLCHECKER_PATH=$SRCROOT/../Tools/UhooiPicBookTools/.build/release/SpellChecker\n#if [ -f $SPELLCHECKER_PATH ]; then\n# $SPELLCHECKER_PATH --yml $SRCROOT/../.spell-checker.yml -- $options\n#else\n# echo \"warning: SpellChecker not installed, please run \\`make setup\\` .\"\n#fi\n\n";
};
273E5548C378B1635B235E18 /* Run IBLinter */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -662,7 +662,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "#SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\n#../Tools/UhooiPicBookTools/.build/release/iblinter lint --path $SRCROOT/.. --config $SRCROOT/../.iblinter.yml\n\n";
shellScript = "#SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\n#IBLINTER_PATH=$SRCROOT/../Tools/UhooiPicBookTools/.build/release/iblinter\n#if [ -f $IBLINTER_PATH ]; then\n# $IBLINTER_PATH lint --path $SRCROOT/.. --config $SRCROOT/../.iblinter.yml\n#else\n# echo \"warning: IBLinter not installed, please run \\`make setup\\` .\"\n#fi\n\n";
};
3E2EB7F4463B4E5B0378F12C /* Run SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -681,7 +681,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\n../Tools/UhooiPicBookTools/.build/release/swiftlint --config $SRCROOT/../.swiftlint.yml --fix --format\n../Tools/UhooiPicBookTools/.build/release/swiftlint --config $SRCROOT/../.swiftlint.yml\n\n";
shellScript = "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\nSWIFTLINT_PATH=$SRCROOT/../Tools/UhooiPicBookTools/.build/release/swiftlint\nif [ -f $SWIFTLINT_PATH ]; then\n $SWIFTLINT_PATH --config $SRCROOT/../.swiftlint.yml --fix --format\n $SWIFTLINT_PATH --config $SRCROOT/../.swiftlint.yml\nelse\n echo \"warning: SwiftLint not installed, please run \\`make setup\\` .\"\nfi\n\n";
};
CE0A4BD6818C7BDE485094F6 /* Run Firebase Crashlytics */ = {
isa = PBXShellScriptBuildPhase;
Expand Down
6 changes: 3 additions & 3 deletions App/Production.xcodeproj/project.pbxproj
Expand Up @@ -642,7 +642,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "#git_path=/usr/local/bin/git\n#files=$($git_path diff --diff-filter=d --name-only -- \"*.swift\" \"*.h\" \"*.m\")\n#if (test -z $files) || (test ${#files[@]} -eq 0); then\n# echo \"no files changed.\"\n# exit 0\n#fi\n#\n#options=\"\"\n#for file in $files\n#do\n# options=\"$options $SRCROOT/../$file\"\n#done\n#\n#SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\n#Tools/UhooiPicBookTools/.build/release/SpellChecker --yml $SRCROOT/../.spell-checker.yml -- $options\n\n";
shellScript = "#git_path=/usr/local/bin/git\n#files=$($git_path diff --diff-filter=d --name-only -- \"*.swift\" \"*.h\" \"*.m\")\n#if (test -z $files) || (test ${#files[@]} -eq 0); then\n# echo \"no files changed.\"\n# exit 0\n#fi\n#\n#options=\"\"\n#for file in $files\n#do\n# options=\"$options $SRCROOT/../$file\"\n#done\n#\n#SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\n#SPELLCHECKER_PATH=$SRCROOT/../Tools/UhooiPicBookTools/.build/release/SpellChecker\n#if [ -f $SPELLCHECKER_PATH ]; then\n# $SPELLCHECKER_PATH --yml $SRCROOT/../.spell-checker.yml -- $options\n#else\n# echo \"warning: SpellChecker not installed, please run \\`make setup\\` .\"\n#fi\n\n";
};
273E5548C378B1635B235E18 /* Run IBLinter */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -661,7 +661,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "#SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\n#../Tools/UhooiPicBookTools/.build/release/iblinter lint --path $SRCROOT/.. --config $SRCROOT/../.iblinter.yml\n\n";
shellScript = "#SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\n#IBLINTER_PATH=$SRCROOT/../Tools/UhooiPicBookTools/.build/release/iblinter\n#if [ -f $IBLINTER_PATH ]; then\n# $IBLINTER_PATH lint --path $SRCROOT/.. --config $SRCROOT/../.iblinter.yml\n#else\n# echo \"warning: IBLinter not installed, please run \\`make setup\\` .\"\n#fi\n\n";
};
3E2EB7F4463B4E5B0378F12C /* Run SwiftLint */ = {
isa = PBXShellScriptBuildPhase;
Expand All @@ -680,7 +680,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\n../Tools/UhooiPicBookTools/.build/release/swiftlint --config $SRCROOT/../.swiftlint.yml --fix --format\n../Tools/UhooiPicBookTools/.build/release/swiftlint --config $SRCROOT/../.swiftlint.yml\n\n";
shellScript = "SDKROOT=$(xcrun --sdk macosx --show-sdk-path)\nSWIFTLINT_PATH=$SRCROOT/../Tools/UhooiPicBookTools/.build/release/swiftlint\nif [ -f $SWIFTLINT_PATH ]; then\n $SWIFTLINT_PATH --config $SRCROOT/../.swiftlint.yml --fix --format\n $SWIFTLINT_PATH --config $SRCROOT/../.swiftlint.yml\nelse\n echo \"warning: SwiftLint not installed, please run \\`make setup\\` .\"\nfi\n\n";
};
CE0A4BD6818C7BDE485094F6 /* Run Firebase Crashlytics */ = {
isa = PBXShellScriptBuildPhase;
Expand Down

0 comments on commit 77a15dd

Please sign in to comment.