Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Use upstream cargo-about
Max Brunsfeld7367350f41b9
diff --git a/script/generate-licenses b/script/generate-licensesindex 10d85f60dcd..ccecec7b851 100755--- a/script/generate-licenses+++ b/script/generate-licenses@@ -13,10 +13,10 @@ cat assets/themes/LICENSES >> $OUTPUT_FILEecho -e "# ###### CODE LICENSES ######\n" >> $OUTPUT_FILE-[[ "$(cargo about --version)" == "cargo-about 0.5.2" ]] || cargo install cargo-about --locked --git https://github.com/zed-industries/cargo-about --branch error-code-on-warn+[[ "$(cargo about --version)" == "cargo-about 0.6.1" ]] || cargo install [email protected]echo "Generating cargo licenses"-cargo about generate --fail-on-missing-license -c script/licenses/zed-licenses.toml script/licenses/template.hbs.md >> $OUTPUT_FILE+cargo about generate --fail -c script/licenses/zed-licenses.toml script/licenses/template.hbs.md >> $OUTPUT_FILEsed -i '' 's/"/"/g' $OUTPUT_FILEsed -i '' 's/'/'\''/g' $OUTPUT_FILE # The ` '\'' ` thing ends the string, appends a single quote, and re-opens the string