function _print_usage() { echo"Usage: $0 [--no-container]" echo"" echo"Options:" echo" --no-container To not source the dev container environment." echo" -h,--help Print this help and exit."
}
while [[ "$#" -gt 0 ]]; do
case $1 in
-h | --help)
_print_usage
exit 0
;;
--no-container)
_no_container=1
;;
*) echo"Unknown parameter passed: $1"; _print_usage; exit 1 ;;
esac
shift done
# Clean and load dev container
cd "$(dirname "$0")/.."
[[ -d ./build/uniffi ]] && rm -r ./build/uniffi/
if [[ -z ${_no_container+x} ]] ; then
source ./.devcontainer/env.sh fi
# Ensure consistent target dir, even if `build.target-dir` config option is set for Cargo export CARGO_TARGET_DIR=target
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.