forked from j4wg/interview-coder-withoupaywall-opensource
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcleanup-for-github.bat
More file actions
28 lines (21 loc) · 757 Bytes
/
cleanup-for-github.bat
File metadata and controls
28 lines (21 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@echo off
echo Cleaning up project for GitHub...
echo Removing node_modules directory...
if exist node_modules rmdir /s /q node_modules
echo Removing dist directory...
if exist dist rmdir /s /q dist
echo Removing dist-electron directory...
if exist dist-electron rmdir /s /q dist-electron
echo Removing release directory...
if exist release rmdir /s /q release
echo Removing package-lock.json...
if exist package-lock.json del package-lock.json
echo Removing any .env files...
if exist .env del .env
if exist .env.local del .env.local
if exist .env.development del .env.development
if exist .env.production del .env.production
echo Cleanup complete!
echo Ready to commit to GitHub.
echo Run 'npm install' after cloning to install dependencies.
pause