mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
logging changes: * Offering auth mechanisms -> debug * 404's aren't really warnings * double tombstone message, one goes to debug other changes: * CSP changes to allow the bootstrap images to load * more testing javascriptfile things, I R * it's nice to know where things are * putting non-rust web things in static/ instead of src/ * RequestCredentials::SameOrigin is the default, also adding a utility function to save dupe code. Wow this saved... kilobytes. * removing commented code, fixing up codespell config * clippyisms * wtf, gha * dee-gloo-ing some things * adding some ubuntu build test things * sigh rustwasm/wasm-pack/issues/1138 * more do_request things * packaging things * hilarious dev env setup script * updated script works, all the UI works, including the experimental UI for naughty crabs * deb package fixes * fixed some notes * setup experimental UI tweaks
20 lines
382 B
Bash
Executable file
20 lines
382 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
ERROR=0
|
|
if [ -z "$(which cargo)" ]; then
|
|
echo "You don't have cargo / rust installed!"
|
|
echo "Go to <https://www.rust-lang.org/tools/install> for instructions!"
|
|
ERROR=1
|
|
fi
|
|
|
|
if [ -z "$(which wasm-pack)" ]; then
|
|
echo "You don't have wasm-pack installed! Installing it now..."
|
|
cargo install wasm-pack
|
|
fi
|
|
|
|
if [ $ERROR -eq 1 ]; then
|
|
exit 1
|
|
fi
|