Files
pilotclient/scripts
Roland Winklmeier d47801c5ba Automatically update shared files during jenkins build
Summary:
This change adds an automatic shared files update step during the jenkins
build. This guarantees, that we always have the latest DB data packaged
into the installers.
The updated files will be written into the source directory, so install
step will automatically pick up the updated ones.

ref T158

Reviewers: #swift_pilot_client, msutcliffe

Reviewed By: #swift_pilot_client, msutcliffe

Subscribers: jenkins

Maniphest Tasks: T158

Differential Revision: https://dev.swift-project.org/D56
2017-10-28 20:34:17 +02:00
..
2016-05-13 17:02:46 +02:00
2016-05-13 17:02:46 +02:00
2016-05-13 17:02:46 +02:00

1. Create new swift mapping file
cd scripts && ./create_iwyu_mappings.py

2. Add global compiler argument to point iwyu to swift mapping file
QMAKE_CXXFLAGS += "-Xiwyu --mapping_file=/home/roland/projects/vatsim/swift/scripts/swift.imp"

3. Run make with compiler set to iwyu
make -j7 -k CXX=~/Downloads/include-what-you-use/bin/include-what-you-use > iwyu.log 2>&1

4. Fix includes
python ~/Downloads/include-what-you-use/bin/fix_includes.py --nocomments < iwyu.log