Document how to install test dependencies on ubuntu

Just a tip to save other devs a few minutes.
pull/119/head
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() ENDFOREACH()
IF (WIN32) IF (WIN32)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /Wx") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} /WX")
ELSE() ELSE()
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wformat=2 -std=gnu99") SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wformat=2 -std=gnu99")
ENDIF() ENDIF()

View File

@ -27,6 +27,11 @@
# #
# This script is primarily intended for travis CI to be able to setup the # This script is primarily intended for travis CI to be able to setup the
# build environment. # 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() { install_from_github() {
local name="${1}" local name="${1}"