Update scripts to point to urbit-king.

This commit is contained in:
Benjamin Summers 2020-01-23 21:34:21 -08:00
parent 6977ae8d3f
commit 7383f05177
6 changed files with 9 additions and 9 deletions

View File

@ -10,7 +10,7 @@ jobs:
install: install:
- nix-env -iA cachix -f https://cachix.org/api/v1/install - nix-env -iA cachix -f https://cachix.org/api/v1/install
- stack --no-terminal --install-ghc build king --only-dependencies - stack --no-terminal --install-ghc build urbit-king --only-dependencies
script: script:
- cachix use urbit2 - cachix use urbit2
@ -29,7 +29,7 @@ jobs:
- sh/travis-install-stack - sh/travis-install-stack
install: install:
- stack --no-terminal --install-ghc build king --only-dependencies - stack --no-terminal --install-ghc build urbit-king --only-dependencies
script: script:
- sh/release-king-darwin-dynamic - sh/release-king-darwin-dynamic

View File

@ -4,7 +4,7 @@ set -ex
export STACK_YAML="`pwd`/pkg/hs/stack.yaml" export STACK_YAML="`pwd`/pkg/hs/stack.yaml"
stack test king stack test urbit-king
if [ "$TRAVIS_PULL_REQUEST" = false ] if [ "$TRAVIS_PULL_REQUEST" = false ]
then then

View File

@ -18,12 +18,12 @@ mkdir -p release
stack clean # Make sure we optimize stack clean # Make sure we optimize
stack install king \ stack install urbit-king \
--local-bin-path "`pwd`/release" \ --local-bin-path "`pwd`/release" \
--test --no-run-tests --test --no-run-tests
out="release/king-darwin-dynamic-$ver" out="release/king-darwin-dynamic-$ver"
mv release/king "$out" mv release/urbit-king "$out"
otool -L "$out" otool -L "$out"

View File

@ -18,12 +18,12 @@ mkdir -p release
stack clean # Make sure we optimize stack clean # Make sure we optimize
stack install king \ stack install urbit-king \
--local-bin-path "`pwd`/release" \ --local-bin-path "`pwd`/release" \
--test --no-run-tests --test --no-run-tests
out="release/king-linux64-dynamic-$ver" out="release/king-linux64-dynamic-$ver"
mv release/king "$out" mv release/urbit-king "$out"
ldd "$out" ldd "$out"

View File

@ -20,6 +20,6 @@ popd
out="release/king-linux64-static-$ver" out="release/king-linux64-static-$ver"
cp "$king"/bin/king "$out" cp "$king"/bin/urbit-king "$out"
ldd "$out" ldd "$out"

View File

@ -2,7 +2,7 @@
set -e set -e
stack test king --fast stack test urbit-king --fast
pkg=$(nix-build nix/ops -A test --no-out-link "$@") pkg=$(nix-build nix/ops -A test --no-out-link "$@")