Fix the outpit directory for ktlint#3541
Conversation
|
Sorry, I just realized I think that the other packages aren't building their output at |
It depends on how people reference the packages and their contents. From CI side, either way works, whenever the recipes specify the correct paths. |
Got it, thanks for the clarification! |
In flutter#3522 I landed a `build.sh` which uses `curl` with the output ``` -o $DIR/../build/ktlint/ ``` I didn't know `-o` is intended to target the output file, not directory (both the file and the directory in this case are named ktlint). Hence the warning: ``` Warning: Failed to create the file Warning: /b/s/w/ir/x/w/cocoon/cipd_packages/ktlint/tools/../build/ktlint: Is a Warning: directory ``` Changes to `-o $DIR/../build/ktlint/ktlint`
In #3522 I landed a
build.shwhich usescurlwith the outputI didn't know
-ois intended to target the output file, not directory (both the file and the directory in this case are named ktlint). Hence the warning:Changes to
-o $DIR/../build/ktlint/ktlintPre-launch Checklist
///).If you need help, consider asking for advice on the #hackers-new channel on Discord.