mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +03:00
Migrate to use the new Unison Local UI repository from [unison-local-ui](https://github.com/unisonweb/unison-local-ui) instead of [codebase-ui](https://github.com/unisonweb/codebase-ui).
11 lines
421 B
Bash
Executable File
11 lines
421 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/unison-local-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"
|