Compare commits
No commits in common. "ae2afc0ffd00ccc29be5a3cc7651e197eb8c61f8" and "5ae67ba391c2005f50452ad2c3f3e90e75417499" have entirely different histories.
ae2afc0ffd
...
5ae67ba391
|
|
@ -1,32 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
set -eu
|
|
||||||
|
|
||||||
NAME="shout"
|
|
||||||
BECAUSE="$HOME/dev/projects/because.sh"
|
|
||||||
|
|
||||||
TARGETS="
|
|
||||||
aarch64-apple-darwin
|
|
||||||
x86_64-unknown-linux-gnu
|
|
||||||
aarch64-unknown-linux-gnu
|
|
||||||
"
|
|
||||||
|
|
||||||
for TARGET in $TARGETS; do
|
|
||||||
echo "Building $TARGET..."
|
|
||||||
case "$TARGET" in
|
|
||||||
*-apple-*)
|
|
||||||
cargo build --release --target "$TARGET"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
cross build --release --target "$TARGET"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
gzip -c "target/$TARGET/release/$NAME" > "target/release/$NAME-$TARGET.gz"
|
|
||||||
"$BECAUSE/scripts/upload" put "$NAME/bin/$NAME-$TARGET.gz" "target/release/$NAME-$TARGET.gz"
|
|
||||||
done
|
|
||||||
|
|
||||||
# Upload install script + landing page
|
|
||||||
"$BECAUSE/scripts/upload" publish "$NAME"
|
|
||||||
"$BECAUSE/scripts/upload" put "$NAME/index.html" web/index.html
|
|
||||||
|
|
||||||
printf "\nPublished %s to https://because.sh/%s/\n" "$NAME" "$NAME"
|
|
||||||
|
|
@ -176,8 +176,8 @@
|
||||||
<header>
|
<header>
|
||||||
<h1><span>$</span> shout</h1>
|
<h1><span>$</span> shout</h1>
|
||||||
<p class="tagline">shell output tester</p>
|
<p class="tagline">shell output tester</p>
|
||||||
<div class="install" onclick="navigator.clipboard.writeText('curl -fsSL https://because.sh/shout/install | sh')">
|
<div class="install" onclick="navigator.clipboard.writeText('bun install -g @because/shout --registry=https://npm.nose.space')">
|
||||||
<span class="prompt">$</span> <span class="cmd">curl -fsSL https://because.sh/shout/install | sh</span>
|
<span class="prompt">$</span> <span class="cmd">bun install -g @because/shout --registry=https://npm.nose.space</span>
|
||||||
<span class="hint">click to copy</span>
|
<span class="hint">click to copy</span>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user