mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
c037100747
We'll maintain it in the c-toxcore repo, where it belongs.
20 lines
600 B
Bash
Executable File
20 lines
600 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# An initial update is required or the cabal cache will be empty and no packages
|
|
# can be installed.
|
|
cabal update
|
|
|
|
# We need to install happy explicitly, otherwise setup-Simple-Cabal will fail to
|
|
# install.
|
|
cabal install happy
|
|
|
|
# Fetch hstox and msgpack-c.
|
|
git clone --recursive --depth=1 https://github.com/TokTok/hs-toxcore ../hs-toxcore
|
|
git clone --depth=1 https://github.com/msgpack/msgpack-c testing/hstox/msgpack-c
|
|
|
|
# Install the hstox test runner.
|
|
(cd ../hs-toxcore && cabal install --disable-library-profiling)
|
|
|
|
# Install toxcore dependencies.
|
|
. other/travis/toxcore-linux-install
|