Renamed app to spp_template and updated build scripts.
This commit is contained in:
parent
6a325e7a2c
commit
906a68bffa
@ -5,4 +5,4 @@ env = SConscript('external/scons-plus-plus/SConscript', exports = ['config'])
|
||||
env.Append(CPPPATH = [Dir('private'), Dir('public')])
|
||||
|
||||
# app
|
||||
env = SConscript('private/app/SConscript', exports = 'env', variant_dir = env['VARIANT_DIR'], src_dir = '.')
|
||||
env = SConscript('private/spp_template/SConscript', exports = 'env', variant_dir = env['VARIANT_DIR'], src_dir = '.')
|
||||
|
10
build/Jenkinsfile
vendored
10
build/Jenkinsfile
vendored
@ -20,6 +20,16 @@ pipeline {
|
||||
sh 'rm -rf cache/*'
|
||||
}
|
||||
}
|
||||
stage('Prepare') {
|
||||
steps
|
||||
{
|
||||
script
|
||||
{
|
||||
// generate the compile commands for clang-tidy to work with and update repositories (mijin)
|
||||
sh 'scons -Q --unity=disable --compiler=clang compile_commands.json --update_repositories'
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('Clang-Tidy') {
|
||||
when {
|
||||
expression { params.RUN_TESTS }
|
||||
|
@ -6,9 +6,6 @@ if [ ! -f ".clang-tidy" ] ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# first generate the compile commands for clang-tidy to work with
|
||||
scons -Q --unity=disable --compiler=clang compile_commands.json
|
||||
|
||||
mkdir -p cache/jenkins
|
||||
find private -name "*.cpp" > "cache/jenkins/clang-tidy-files"
|
||||
|
||||
|
@ -9,7 +9,7 @@ src_files = Split("""
|
||||
""")
|
||||
|
||||
prog_app = env.UnityProgram(
|
||||
target = env['BIN_DIR'] + '/app',
|
||||
target = env['BIN_DIR'] + '/spp_template',
|
||||
source = src_files,
|
||||
dependencies = [lib_mijin]
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user