-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ability to create a back-end-only project
- Loading branch information
1 parent
479102a
commit 673c26f
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# | ||
|
||
# I've found that I often use multiple front-ends with a single back-end. | ||
# So, this single back-end has no front-end code. This script | ||
# removes the front-end portion of the system to give me a convenient | ||
# starting point for a back-end-only project. | ||
|
||
if [ $# -ne 1 ] || [ 'remove' != $1 ]; then | ||
echo | ||
echo 'This script removes the back-end portion of Kiss' | ||
echo | ||
echo Usage: $0 remove | ||
echo | ||
exit | ||
fi | ||
|
||
|
||
rm -rf .git* src/main/frontend remove-backend* make-front-end SimpleWebServer.jar upgrade-kiss* *.md | ||
rm -rf expand LICENSE.txt list-both serv* shrink make-frontend | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
@echo off | ||
REM I've found that I often use multiple front-ends with a single back-end. | ||
REM So, this single back-end has no front-end code. This script | ||
REM removes the front-end portion of the system to give me a convenient | ||
REM starting point for a back-end-only project. | ||
|
||
if "%~1" neq "remove" ( | ||
echo. | ||
echo This script removes the front-end portion of Kiss | ||
echo. | ||
echo Usage: %~0 remove | ||
echo. | ||
exit /b | ||
) | ||
|
||
rmdir /s /q .git* src\main\frontend remove-backend* make-front-end SimpleWebServer.jar upgrade-kiss* *.md | ||
rmdir /s /q expand LICENSE.txt list-both serv* shrink make-frontend |