Skip to content

Commit

Permalink
Improved support for front-end-only projects
Browse files Browse the repository at this point in the history
  • Loading branch information
blakemcbride committed Oct 18, 2023
1 parent b39e5dd commit 479102a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 2 deletions.
5 changes: 3 additions & 2 deletions remove-backend
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# I've found that I often use multiple front-ends with a single back-end.
# So, these additional front-ends do not have their own back-end. This
# script removed the back-end portion of the system to give me a convenient
# starting point.
# script removes the back-end portion of the system to give me a convenient
# starting point for a front-end-only project.

if [ $# -ne 1 ] || [ 'remove' != $1 ]; then
echo
Expand All @@ -18,3 +18,4 @@ fi
rm -rf .git* libs bld* build* init* KissGP* LIC* manual* pom.xml README.md
rm -rf runcmd test.csv upgrade-* view-log
rm -rf src/main/backend src/main/core src/main/frontend/{META-INF,WEB-INF}
rm -rf CONTRIBUTING.md notes
19 changes: 19 additions & 0 deletions remove-backend.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
@echo off
REM I've found that I often use multiple front-ends with a single back-end.
REM So, these additional front-ends do not have their own back-end. This
REM script removes the back-end portion of the system to give me a convenient
REM starting point for a front-end-only project.

if "%~1" neq "remove" (
echo.
echo This script removes the back-end portion of Kiss
echo.
echo Usage: %~0 remove
echo.
exit /b
)

rmdir /s /q .git* libs bld* build* init* KissGP* LIC* manual* pom.xml README.md
rmdir /s /q runcmd test.csv upgrade-* view-log
rmdir /s /q src\main\backend src\main\core src\main\frontend\META-INF src\main\frontend\WEB-INF
rmdir /s /q CONTRIBUTING.md notes

0 comments on commit 479102a

Please sign in to comment.