mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-21 15:28:15 +03:00
11 lines
389 B
Bash
11 lines
389 B
Bash
|
echo "This script downloads the latest codebase UI release"
|
||
|
echo "and puts it in the correct spot next to the unison"
|
||
|
echo "executable built by stack."
|
||
|
echo ""
|
||
|
|
||
|
stack build
|
||
|
curl -L https://github.com/unisonweb/codebase-ui/releases/download/latest/ucm.zip --output ucm.zip
|
||
|
parent_dir="$(dirname -- $(stack exec which unison))"
|
||
|
mkdir -p "$parent_dir/ui"
|
||
|
unzip -o ucm.zip -d "$parent_dir/ui"
|