Fix soft link to compile_commands.json
Signed-off-by: somebody_master <somebody_master@somebodyserver.mooo.com>
This commit is contained in:
parent
44fdd62942
commit
ab33536639
@ -78,7 +78,8 @@ function build_db() {
|
|||||||
bear -- scons platform="$_default_platform"
|
bear -- scons platform="$_default_platform"
|
||||||
|
|
||||||
if [ ! -f "../{$_bin_folder}/compile_commands.json" ]; then
|
if [ ! -f "../{$_bin_folder}/compile_commands.json" ]; then
|
||||||
ln -s compile_commands.json "../${_bin_folder}/compile_commands.json"
|
cd "../$_bin_folder" || clean_exit 1 "$_error_bin_folder"
|
||||||
|
ln -s "../${_build_folder}/compile_commands.json" ./
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
|
Loading…
Reference in New Issue
Block a user