Document how to install test dependencies on ubuntu

Just a tip to save other devs a few minutes.
feature/tap-sh
Dan Kegel 2017-06-04 17:46:38 -07:00
parent 251f747343
commit d4098f95c3
2 changed files with 6 additions and 1 deletions

View File

@ -21,7 +21,7 @@ FOREACH(file Kyuafile libpkgconf.pc tests/Kyuafile tests/test_env.sh)
ENDFOREACH()
IF (WIN32)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Wx")
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
ELSE()
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wformat=2 -std=gnu99")
ENDIF()

View File

@ -27,6 +27,11 @@
#
# This script is primarily intended for travis CI to be able to setup the
# build environment.
#
# To run on a clean Ubuntu system, try something like this:
# export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
# sudo apt install liblua5.2-dev libsqlite3-dev
# sh -ex scripts/install_deps.sh
install_from_github() {
local name="${1}"