dotfiles

Personal dotfiles
git clone https://git.bracken.jp/dotfiles.git
Log | Files | Refs | LICENSE

commit 5707de89638d163d4ca4ea4a1a50fd0c71a48d0c
parent 2bd677590e3749e30689cceb4dcd3d4c38914611
Author: Chris Bracken <chris@bracken.jp>
Date:   Fri,  1 Nov 2024 15:27:22 -0700

zsh: add cc_host, cc_ios, cc_sim aliases

Flips the compile_commands.json at the engine root between builds.

Diffstat:
M.config/zsh/aliases | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/.config/zsh/aliases b/.config/zsh/aliases @@ -28,3 +28,9 @@ alias rm='rm -i' # work alias fbug='gh -R flutter/flutter issue' + +CC_FLUTTER="$HOME/Developer/flutter/engine/src/compile_commands.json" +alias cc_host="rm -f $CC_FLUTTER && ln -s out/host_debug_unopt_arm64/compile_commands.json $CC_FLUTTER" +alias cc_ios="rm -f $CC_FLUTTER && ln -s out/ios_debug_unopt_arm64/compile_commands.json $CC_FLUTTER" +alias cc_sim="rm -f $CC_FLUTTER && ln -s out/ios_debug_sim_unopt_arm64/compile_commands.json $CC_FLUTTER" +unset CC_FLUTTER