diff --git a/Makefile b/Makefile index 3a3d58b83..ea2314926 100644 --- a/Makefile +++ b/Makefile @@ -45,15 +45,15 @@ clean: ifeq ($(OS),Windows_NT) powershell -Command "Get-ChildItem -Path . -Include node_modules, .next, dist -Recurse -Directory | Remove-Item -Recurse -Force" rmdir /s /q "%USERPROFILE%\AppData\Roaming\jan" - rmdir /s /q "%USERPROFILE%\AppData\Roaming\jan-electron" - rmdir /s /q "%USERPROFILE%\AppData\Local\jan*" + rmdir /s /q "%USERPROFILE%\AppData\Roaming\jan-electron" + rmdir /s /q "%USERPROFILE%\AppData\Local\jan*" else ifeq ($(shell uname -s),Linux) find . -name "node_modules" -type d -prune -exec rm -rf '{}' + find . -name ".next" -type d -exec rm -rf '{}' + find . -name "dist" -type d -exec rm -rf '{}' + - rm -rf "~/.config/jan" + rm -rf "~/.config/jan" rm -rf "~/.config/jan-electron" - rm -rf "~/.cache/jan*" + rm -rf "~/.cache/jan*" else find . -name "node_modules" -type d -prune -exec rm -rf '{}' + find . -name ".next" -type d -exec rm -rf '{}' +