mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
31 lines
594 B
Bash
Executable File
31 lines
594 B
Bash
Executable File
case $1 in
|
|
mac)
|
|
find ~/Library/Logs/Lens -type f -name *.log -delete
|
|
;;
|
|
linux)
|
|
find ~/.config/Logs/Lens -type f -name *.log -delete
|
|
;;
|
|
win)
|
|
find %APPDATA%/Logs/Lens -type f -name *.log -delete
|
|
;;
|
|
esac
|
|
|
|
yarn build:$1
|
|
DEBUG=true yarn integration-runner
|
|
|
|
if [ $? -ne 0 ]; then
|
|
case $1 in
|
|
mac)
|
|
find ~/Library/Logs/Lens -type f -name *.log -exec cat >&2 {} \;
|
|
;;
|
|
linux)
|
|
find ~/.config/Logs/Lens -type f -name *.log -exec cat >&2 {} \;
|
|
;;
|
|
win)
|
|
find %APPDATA%/Logs/Lens -type f -name *.log -exec cat >&2 {} \;
|
|
;;
|
|
esac
|
|
|
|
exit 1
|
|
fi
|