Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to master #13

Merged
merged 118 commits into from
May 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
f9f75b0
mall miscellanious files
curstwist May 19, 2019
249315a
2nd story, roof enhancements
curstwist May 19, 2019
0f295ae
add fire barrels
tinukedaya May 20, 2019
b67eced
Update data/json/recipes/recipe_others.json
tinukedaya May 20, 2019
fd7e16f
Update data/json/recipes/recipe_others.json
tinukedaya May 20, 2019
a108484
Update furniture.json
tinukedaya May 20, 2019
63d4740
Update furniture.json
tinukedaya May 21, 2019
781de6e
document constructions and remove time constant
May 21, 2019
202cd95
Update data/json/furniture.json
tinukedaya May 21, 2019
20bf7cb
Update data/json/items/tool/deployable.json
tinukedaya May 21, 2019
8a70b67
Update data/json/furniture.json
tinukedaya May 21, 2019
98cd9a8
Update data/json/items/tool/deployable.json
tinukedaya May 21, 2019
3151383
Switch build configurations away from trusty
jbytheway May 18, 2019
16d7b8a
Fix coverage CXXFLAGS code
jbytheway May 18, 2019
ceb41e2
Improve .travis.yml comments
jbytheway May 20, 2019
4ac9823
Try trimming down build somewhat
jbytheway May 20, 2019
f7ed718
Add clang-7, clang-8 Travis builds
jbytheway May 20, 2019
ce1c718
Disable clang-6 and -7 builds on PRs
jbytheway May 21, 2019
ff73193
Don't install unnecessary 32-bit libraries
jbytheway May 21, 2019
6f672ef
Merge pull request #30731 from ymber/construction_time
kevingranade May 22, 2019
6fa8374
Rock as a spare part
RarkGrames May 21, 2019
e84f574
Merge pull request #30592 from jbytheway/revamp_clang_builds
kevingranade May 22, 2019
41a408b
Merge pull request #30693 from tinukedaya/Fire-barrels
Rivet-the-Zombie May 22, 2019
3f52a39
avatar::memorial
KorGgenT May 21, 2019
8224cc7
Moved Brawling martial art autolearn code to json
Hymore246 May 22, 2019
4db4087
Replaced battery spawn with full pocket batteries
Inglonias May 22, 2019
19d63d6
Changed weight and volume values to be more realistic.
Greevv May 22, 2019
e1988bd
Fixed silly JSON error.
Greevv May 22, 2019
3fa1083
disp_name and skin_name
KorGgenT May 22, 2019
f3049e5
Fix missing declarations (#30739)
jbytheway May 22, 2019
373a61f
Linted JSON.
Greevv May 22, 2019
9a011a4
stomach and guts
KorGgenT May 22, 2019
9ba420a
Fix copy-from for overmap specials
ralreegorganon May 22, 2019
158cba5
Avoid undefined shift
jbytheway May 21, 2019
0058299
Avoid uninitialized value in jmapgen_int
jbytheway May 22, 2019
81309f4
NOLINT undefined shifts in legacy hash code
jbytheway May 22, 2019
0ebd6a7
Enable clang-analyzer-core.UndefinedBinaryOperatorResult
jbytheway May 21, 2019
7fb60a5
Remove legacy hash code
jbytheway May 22, 2019
54ce03a
Add a --user-dir option to the tests
jbytheway May 22, 2019
82ab429
Use separate user_dir for modded tests
jbytheway May 22, 2019
c7a1729
Astyle typo fixes
Hymore246 May 22, 2019
97e9876
Update MARTIALART_JSON.md
Hymore246 May 22, 2019
39f03ba
Saving some future person a bunch of time
Mooses2k May 22, 2019
ba291f1
Add clean water to makeshift steam engine recipe
jmattspartacus May 22, 2019
8f41913
move item_group
curstwist May 23, 2019
6dfed79
fixed typo in NR-031 description
TheMurderUnicorn May 22, 2019
e087975
acorn_roasted: remove duplicate entry for itype acorn_roasted
OrenAudeles May 22, 2019
829967a
Added empty newline at the end of the file to satisfy the JSON lintin…
Greevv May 23, 2019
a5904e6
Merge pull request #30756 from jbytheway/clang_tidy_undefined_binary_…
kevingranade May 23, 2019
2db2ed1
Merge pull request #30764 from jbytheway/avoid_parallel_test_races
kevingranade May 23, 2019
25389a7
Merge pull request #30752 from Greevv/ferro-rail-fix
Rivet-the-Zombie May 23, 2019
b0a976c
Move hydroponics mod folders out of a subfolder
anothersimulacrum May 22, 2019
5ca0b2e
Merge pull request #30749 from Inglonias/fix-bandit-tower
ZhilkinSerg May 23, 2019
f36fa8d
Merge pull request #30748 from Hymore246/brawling-autolearn
ZhilkinSerg May 23, 2019
0d6fcdc
Merge pull request #30765 from Mooses2k/update-compiling.md
ZhilkinSerg May 23, 2019
bca1d09
Merge pull request #30766 from jmattspartacus/Clean-Water-Steam-Engines
ZhilkinSerg May 23, 2019
73abb7a
Merge pull request #30760 from ralreegorganon/fix-overmap-special-cop…
ZhilkinSerg May 23, 2019
6f28ce1
Restore minimap enemy blink/fade functionality (#30745)
esotericist May 23, 2019
1fb5681
Fixes cell phone and talking doll weirdness (#30742)
Inglonias May 23, 2019
63b649f
Game report: add precise version and name for systems. (#30729)
neitsa May 23, 2019
90c58fa
Robot salvage system (#30456)
Fris0uman May 23, 2019
efcd359
Merge pull request #30637 from curstwist/add-mall-2nd-floor-and-more-…
kevingranade May 23, 2019
d0ab06a
Add AT4 (#30734)
Phenomphear May 23, 2019
a977890
Merge pull request #30758 from KorGgenT/Character
kevingranade May 23, 2019
093c7ea
Fix some typos in uninstall bionic (#30763)
Fris0uman May 23, 2019
21e21c9
Suppress float loop counter warnings
jbytheway May 22, 2019
d1d069d
Switch a loop counter from double to int
jbytheway May 22, 2019
081bef7
Enable clang-analyzer-security.FloatLoopCounter
jbytheway May 22, 2019
22b10a5
Add -Wmissing-declarations
jbytheway May 20, 2019
ec16e32
Mark some function inline in the json formatter
jbytheway May 22, 2019
28860a9
Declare some wincurses functions static
jbytheway May 23, 2019
6ff60d7
Rearrange a bunch of debug OS version functions
jbytheway May 23, 2019
58f5393
Another recently added function should be static
jbytheway May 23, 2019
5166ac7
Update bandit_tower_3blc_03.json
ZhilkinSerg May 23, 2019
ed96404
Fix save/load of avatar-specific variables
ifreund May 23, 2019
f499359
player log: strip carriage returns from memorial log lines
OrenAudeles May 23, 2019
30f4e97
Merge pull request #30759 from jbytheway/missing_declarations
kevingranade May 23, 2019
f22277c
Merge pull request #30774 from jbytheway/clang_tidy_float_loop_counter
kevingranade May 23, 2019
f483bd5
DP tileset update
SomeDeadGuy May 23, 2019
c92030c
Fix missing type in variable declaration for Android.
neitsa May 23, 2019
2b5b468
Merge pull request #30786 from OrenAudeles/strip_carriage_return
ZhilkinSerg May 23, 2019
d87d05e
Merge pull request #30790 from neitsa/fix/android_version
ZhilkinSerg May 23, 2019
810ebc2
Merge pull request #30787 from SomeDeadGuy/DP_TilesetUpdate
ZhilkinSerg May 23, 2019
e8e7712
Adds fence terrains (#30762)
curstwist May 23, 2019
9014897
Fix a cast error with Windows gcc-based compilers. (#30792)
neitsa May 23, 2019
57f85c0
Merge pull request #30775 from CleverRaven/fix-mod-bandit-batteries
ZhilkinSerg May 23, 2019
a65abf4
Extended descriptions for terrain and furniture (#30610)
Mooses2k May 23, 2019
0d804df
Astyle
ZhilkinSerg May 23, 2019
11d9d7b
Merge pull request #30793 from ZhilkinSerg/fix-astyle-2019-05-24
ZhilkinSerg May 23, 2019
ae3cdd5
add roof to tire shop
curstwist May 24, 2019
35f8c60
[CR] Electrical damage has a chance to temporarily incapacitate bioni…
thquinn May 24, 2019
8f8b616
Change handmade carbine to accept factory-made magazines as well (#30…
ArkoselabsDoesNotWork-153164711 May 24, 2019
e15ac96
Beggars 2: implement actual begging and begin to add a simple storyli…
I-am-Erk May 24, 2019
4ad4cae
spell learning
KorGgenT May 11, 2019
164d970
move bmi and activity level
KorGgenT May 23, 2019
447ad3f
Adjust coverage of Travis builds (#30768)
kevingranade May 24, 2019
69aef8e
Merge pull request #30797 from curstwist/add-tire-shop-roof
Rivet-the-Zombie May 24, 2019
e9a1290
Set clang-tidy header filter
jbytheway May 24, 2019
58fdd83
Merge pull request #30799 from jbytheway/clang_tidy_header_filter
ZhilkinSerg May 24, 2019
fbc616a
Make free functions static to supress missing declarations errors
ZhilkinSerg May 24, 2019
d1a2d23
Merge pull request #30800 from ZhilkinSerg/fix-missing-declaration-er…
ZhilkinSerg May 24, 2019
98103e0
Replace typedef with using
jbytheway May 24, 2019
419ce85
Build chkjson on Travis
jbytheway May 24, 2019
0434c76
Try union workaround to function cast warning
jbytheway May 24, 2019
4744eb3
ignore some warnings in visual studio
KorGgenT May 24, 2019
f14fa7a
Merge pull request #30803 from jbytheway/function_cast_workaround
ZhilkinSerg May 24, 2019
0c4f784
Merge pull request #30804 from KorGgenT/VS-ignore-warnings
ZhilkinSerg May 24, 2019
e67819e
Merge pull request #30802 from jbytheway/chkjson_on_travis
ZhilkinSerg May 24, 2019
a382891
Merge pull request #30801 from jbytheway/typedef_to_using
ZhilkinSerg May 24, 2019
5f8de7d
clang-tidy: Enable modernize-use-using
jbytheway May 24, 2019
707c506
Add missing conversion from std::string to char*.
neitsa May 24, 2019
118324b
Merge pull request #30805 from jbytheway/clang_tidy_use_using
ZhilkinSerg May 24, 2019
0663c24
move Newchar functions to avatar from player (#30806)
KorGgenT May 24, 2019
d26d536
Improved changelog generator (#30724)
KurzedMetal May 24, 2019
2660bc3
spell effects (#30428)
KorGgenT May 24, 2019
a036fae
Merge pull request #30811 from neitsa/fix/android_system_version
ZhilkinSerg May 24, 2019
8403903
Added three new martial art buff events (#30633)
Hymore246 May 24, 2019
4985bb0
Faction ownership and thievery (#29834)
May 24, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Checks: 'clang-diagnostic-*,-clang-analyzer-security.FloatLoopCounter,-clang-analyzer-core.UndefinedBinaryOperatorResult'
Checks: 'clang-diagnostic-*,modernize-use-using'
WarningsAsErrors: '*'
HeaderFilterRegex: '.*'
HeaderFilterRegex: '(src|test).*'
FormatStyle: none

# vim:tw=0
135 changes: 78 additions & 57 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,71 +32,94 @@ branches:
- master
- development

# Overall strategy for what sorts of builds to include:
# We want a build for each compiler and each platform.
# For PRs, we lessen the "each compiler" requirement to just covering the newest
# and oldest relevant version of each compiler.
# We also want to ensure that each of the following tweaks are covered in at
# least one PR build:
# - TILES=1
# - SOUND=1
# - RELEASE=1
# - CMAKE=1
# - SANITIZE=address
# - LOCALIZE=0
# - A clang-tidy run
# We try to minimize the number of builds subject to those constraints.

# To see what toolchains are available, consult the following:
# https://github.com/travis-ci/apt-source-safelist/blob/master/ubuntu.json
# https://launchpad.net/%7Eubuntu-toolchain-r/+archive/ubuntu/test/+index

jobs:
include:
# Initial test stage, if this fails everything else is cancelled.
- stage: test
# GCC 5.4 is the pre-installed compiler on Xenial
env: COMPILER=g++ MODS=--mods=RL_Classes TEST_STAGE=1
- stage: Test
# Clang is consistently the fastest to build, so use it for the initial test.
# Clang 3.8, oldest supported Clang, build with Makefile with extra tests and json style check.
env: CLANG=clang++-3.8 MODS=--mods=RL_Classes TEST_STAGE=1 CXXFLAGS='-Wno-error=unused-command-line-argument -D__extern_always_inline="extern __always_inline"'
compiler: clang
addons: &clang38
apt:
packages: ["clang-3.8", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"]
sources: *apt_sources

# Then build different configurations and targets in parallel.
- stage: variants
# Linux Tiles
env: COMPILER=g++-8 CXXFLAGS='-Wno-implicit-fallthrough' TILES=1 SOUND=1 SANITIZE=address
- stage: "Main Compilers"
# GCC 5.3, oldest supported GCC, build with Makefile configured for Curses, disable LOCALIZE
env: COMPILER=g++ LOCALIZE=0
compiler: gcc
addons: &gcc53
apt:
packages: ["g++-5=5.3.1-14ubuntu2", "libstdc++-5-dev=5.3.1-14ubuntu2", "gcc-5=5.3.1-14ubuntu2", "gcc-5-base=5.3.1-14ubuntu2", "cpp-5=5.3.1-14ubuntu2", "libgcc-5-dev=5.3.1-14ubuntu2", "libasan2=5.3.1-14ubuntu2", "libmpx0=5.3.1-14ubuntu2"]
sources: [*apt_sources]

# GCC 8, latest supported GCC, build with Makefile configured with TILES and SOUND and use address sanitization
- env: COMPILER=g++-8 CXXFLAGS='-Wno-implicit-fallthrough' TILES=1 SOUND=1 SANITIZE=address
compiler: gcc
addons: &gcc8
apt:
packages: ["g++-8", "g++-8-multilib", "libc6-dbg", "libc6-dbg:i386", "libsdl2-dev", "libsdl2-ttf-dev", "libsdl2-image-dev", "libsdl2-mixer-dev"]
sources: *apt_sources

# MXE variants using alternate repository http://mirror.mxe.cc/repos/apt
# GCC MinGW
- env: COMPILER='g++' LDFLAGS='-static-libgcc -static-libstdc++' MXE_TARGET='i686-w64-mingw32.static' WINE='wine'
addons: &gcc
# Clang 8, latest supported Clang, build with Makefile and address sanitization, but disable some very long-running tests
- env: CLANG=clang++-8 SANITIZE=address EXTRA_TEST_OPTS="~[.] ~vehicle_efficiency ~vehicle_drag ~starting_items"
compiler: clang
addons: &clang8
apt:
packages: ["wine"]
packages: ["clang-8", "libc6-dbg", "libc6-dbg:i386"]
sources: [*apt_sources, llvm-toolchain-xenial-8]

# Windows Tiles
- env: COMPILER='g++' LDFLAGS='-static-libgcc -static-libstdc++' MXE_TARGET='i686-w64-mingw32.static' WINE='wine' TILES=1 SOUND=1
- stage: "Platforms and Tidy"
# MXE variant using alternate repository http://mirror.mxe.cc/repos/apt
# Mingw-w64 building with Tiles and Sound
env: COMPILER='g++' LDFLAGS='-static-libgcc -static-libstdc++' MXE_TARGET='i686-w64-mingw32.static' WINE='wine' TILES=1 SOUND=1
compiler: gcc
addons: &gcc
apt:
packages: ["wine"]

# CMake Clang 6.0 Tiles with CMAKE
- env: CLANG=clang++-6.0 TILES=1 SOUND=1 CXXFLAGS=-Wno-error=unused-command-line-argument CMAKE=1 RELEASE=1
dist: trusty
compiler: clang
addons: &clang60
apt:
packages: ["clang-6.0", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6", "libsdl2-dev", "libsdl2-ttf-dev", "libsdl2-image-dev", "libsdl2-mixer-dev"]
sources: [*apt_sources, llvm-toolchain-trusty-6.0]

# macOS Tiles
# Xcode 10.1 building with Tiles and sound
- env: CLANG=clang++ NATIVE=osx OSX_MIN=10.13 TILES=1 SOUND=1
os: osx
osx_image: xcode10.1
compiler: clang

# CMake Clang 8.0 Tiles with CMAKE and clang-tidy
# Execute Clang-tidy with CMake, configured with Tiles and Sound
# (analysis only; no build or tests)
- env: CLANG=clang++-8 TILES=1 SOUND=1 CXXFLAGS=-Wno-unused-command-line-argument CMAKE=1 CATA_CLANG_TIDY=clang-tidy-8
compiler: clang
addons: &clang80
addons: &clang8
apt:
packages: ["clang-8", "clang-tidy-8", "libc6-dbg", "libc6-dbg:i386", "g++-6", "libsdl2-dev", "libsdl2-ttf-dev", "libsdl2-image-dev", "libsdl2-mixer-dev"]
packages: ["clang-8", "clang-tidy-8", "libsdl2-dev", "libsdl2-ttf-dev", "libsdl2-image-dev", "libsdl2-mixer-dev"]
sources: [*apt_sources, llvm-toolchain-xenial-8]


# Finally check the compiler variants
- stage: compilers
env: COMPILER=g++ 5.3
# GCC 5.4 is default on Xenial
env: COMPILER=g++
if: type != pull_request
compiler: gcc
addons: &gcc53
apt:
packages: ["g++-5=5.3.1-14ubuntu2", "libstdc++-5-dev=5.3.1-14ubuntu2", "gcc-5=5.3.1-14ubuntu2", "gcc-5-base=5.3.1-14ubuntu2", "cpp-5=5.3.1-14ubuntu2", "libgcc-5-dev=5.3.1-14ubuntu2", "libasan2=5.3.1-14ubuntu2", "libmpx0=5.3.1-14ubuntu2"]
sources: [*apt_sources]

# GCC 6
- env: COMPILER=g++-6
Expand All @@ -107,34 +130,21 @@ jobs:
packages: ["g++-6", "g++-6-multilib", "libc6-dbg", "libc6-dbg:i386"]
sources: *apt_sources

# GCC 7
- env: COMPILER=g++-7 CXXFLAGS='-Wno-implicit-fallthrough' CODE_COVERAGE=true
# GCC 7, adding _GLIBCXX_DEBUG so that one build can test with that
- env: COMPILER=g++-7 CXXFLAGS='-Wno-implicit-fallthrough -D_GLIBCXX_DEBUG' CODE_COVERAGE=true
if: type != pull_request
compiler: gcc
dist: trusty
addons: &gcc7
apt:
packages: ["g++-7", "g++-7-multilib", "libc6-dbg", "libc6-dbg:i386", "lcov"]
sources: *apt_sources

# GCC 8
# Also, adding _GLIBCXX_DEBUG so that one build can test with that
- env: COMPILER=g++-8 CXXFLAGS='-Wno-implicit-fallthrough -D_GLIBCXX_DEBUG'
compiler: gcc
if: type != pull_request
addons: &gcc8
apt:
packages: ["g++-8", "g++-8-multilib", "libc6-dbg", "libc6-dbg:i386"]
sources: *apt_sources

# Clang 3.8
- env: CLANG=clang++-3.8 CXXFLAGS='-Wno-error=unused-command-line-argument -D__extern_always_inline="extern __always_inline"'
compiler: clang
# GCC MinGW with only terminal support
- env: COMPILER='g++' LDFLAGS='-static-libgcc -static-libstdc++' MXE_TARGET='i686-w64-mingw32.static' WINE='wine'
if: type != pull_request
addons: &clang38
addons: &gcc
apt:
packages: ["clang-3.8", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"]
sources: *apt_sources
packages: ["wine"]

# Clang 3.9
- env: CLANG=clang++-3.9 CXXFLAGS='-Wno-error=unused-command-line-argument -D__extern_always_inline="extern __always_inline"'
Expand All @@ -152,9 +162,11 @@ jobs:
addons: &clang40
apt:
packages: ["clang-4.0", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"]
# Luckily the Trusty install Just Works on Xenial
sources: [*apt_sources, llvm-toolchain-trusty-4.0]

# Clang 5.0
# Clang 5.0 (still on Trusty, because I could find no readily available
# source on Xenial at time of writing)
- env: CLANG=clang++-5.0 CXXFLAGS=-Wno-error=unused-command-line-argument
if: type != pull_request
dist: trusty
Expand All @@ -164,14 +176,23 @@ jobs:
packages: ["clang-5.0", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"]
sources: [*apt_sources, llvm-toolchain-trusty-5.0]

# Clang 6.0
- env: CLANG=clang++-6.0 CXXFLAGS=-Wno-error=unused-command-line-argument SANITIZE=address EXTRA_TEST_OPTS="~[.] ~vehicle_efficiency ~vehicle_drag ~starting_items"
dist: trusty
# CMake Clang 6.0 Tiles with CMAKE
- env: CLANG=clang++-6.0 TILES=1 SOUND=1 CXXFLAGS=-Wno-error=unused-command-line-argument CMAKE=1 RELEASE=1
if: type != pull_request
compiler: clang
addons: &clang60
apt:
packages: ["clang-6.0", "g++-multilib", "libc6-dbg", "libc6-dbg:i386", "g++-6"]
sources: [*apt_sources, llvm-toolchain-trusty-6.0]
packages: ["clang-6.0", "g++-multilib", "libc6-dbg", "g++-6", "libsdl2-dev", "libsdl2-ttf-dev", "libsdl2-image-dev", "libsdl2-mixer-dev"]
sources: [*apt_sources, llvm-toolchain-xenial-6.0]

# Clang 7
- env: CLANG=clang++-7
if: type != pull_request
compiler: clang
addons: &clang7
apt:
packages: ["clang-7", "libc6-dbg", "libc6-dbg:i386"]
sources: [*apt_sources, llvm-toolchain-xenial-7]

before_script:
- if [ -n "${CLANG}" ]; then COMPILER="$CLANG"; fi
Expand Down
4 changes: 3 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,9 @@ IF(MSVC)
add_definitions(-D_X86_)
endif()
ELSE()
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra -Woverloaded-virtual -Wpedantic -std=c++14")
SET(CATA_WARNINGS
"-Werror -Wall -Wextra -Woverloaded-virtual -Wpedantic -Wmissing-declarations")
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CATA_WARNINGS} -std=c++14")
SET(CMAKE_CXX_FLAGS_DEBUG "-Og -g")
ENDIF()

Expand Down
7 changes: 6 additions & 1 deletion COMPILING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
* [Cross-compile to Windows from Linux](#cross-compile-to-windows-from-linux)
* [Cross-compile to Mac OS X from Linux](#cross-compile-to-mac-os-x-from-linux)
* [Cross-compile to Android from Linux](#cross-compile-to-android-from-linux)
* [Troubleshooting](#debian-troubleshooting)
* [Mac OS X](#mac-os-x)
* [Simple build using Homebrew](#simple-build-using-homebrew)
* [Advanced info for Developers](#advanced-info-for-developers)
* [Troubleshooting](#troubleshooting)
* [Troubleshooting](#mac-troubleshooting)
* [Windows](#windows)
* [Visual Studio Guide](#visual-studio-guide)
* [MinGW Guide](#mingw-guide)
Expand Down Expand Up @@ -353,6 +354,10 @@ To build a signed release APK (ie. one that can be installed on a device), [buil

The app stores data files on the device in `/sdcard/Android/data/com.cleverraven/cataclysmdda/files`. The data is backwards compatible with the desktop version.

## Linux Troubleshooting

If you get an error stating `make: build-scripts/validate_pr_in_jenkins: Command not found` clone a separate copy of the upstream source to a new git repository as your git setup has become corrupted by the Blob.

# Mac OS X

To build Cataclysm on Mac you'll need [Command Line Tools for Xcode](https://developer.apple.com/downloads/) and the [Homebrew](http://brew.sh) package manager. With Homebrew, you can easily install or build Cataclysm using the [Cataclysm](https://formulae.brew.sh/formula/cataclysm) forumla.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
# PROFILE is for use with gprof or a similar program -- don't bother generally.
# RELEASE_FLAGS is flags for release builds.
RELEASE_FLAGS =
WARNINGS = -Werror -Wall -Wextra -Woverloaded-virtual -Wpedantic
WARNINGS = -Werror -Wall -Wextra -Woverloaded-virtual -Wpedantic -Wmissing-declarations
# Uncomment below to disable warnings
#WARNINGS = -w
DEBUGSYMS = -g
Expand Down
6 changes: 5 additions & 1 deletion build-scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ if [ -n "$TEST_STAGE" ]
then
build-scripts/lint-json.sh
make -j "$num_jobs" style-json

# Also build chkjson (even though we're not using it), to catch any
# compile errors there
make -j "$num_jobs" chkjson
elif [ -n "$JUST_JSON" ]
then
echo "Early exit on just-json change"
Expand Down Expand Up @@ -107,7 +111,7 @@ else
run_tests ./tests/cata_test &
if [ -n "$MODS" ]
then
run_tests ./tests/cata_test $MODS &
run_tests ./tests/cata_test --user-dir=modded $MODS &
wait -n
fi
wait -n
Expand Down
6 changes: 3 additions & 3 deletions build-scripts/requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ if just_json; then
fi

if [ -n "${CODE_COVERAGE}" ]; then
travis_retry pip install --user pyyaml cpp-coveralls;
export CXXFLAGS=--coverage;
export LDFLAGS=--coverage;
travis_retry pip install --user pyyaml cpp-coveralls
export CXXFLAGS="$CXXFLAGS --coverage"
export LDFLAGS="$LDFLAGS --coverage"
fi

if [ -n "$CATA_CLANG_TIDY" ]; then
Expand Down
Loading