mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-10 11:15:08 +03:00
bf54fc40e2
The Codebase UI changed its main artifact of ucm.zip to unisonLocal.zip, make sure we build using the right artifcat.
11 lines
417 B
Bash
Executable File
11 lines
417 B
Bash
Executable File
echo "This script downloads the latest Unison Local 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/unisonLocal.zip --output unisonLocal.zip
|
|
parent_dir="$(dirname -- $(stack exec which unison))"
|
|
mkdir -p "$parent_dir/ui"
|
|
unzip -o unisonLocal.zip -d "$parent_dir/ui"
|