Repository Structure
This commit is contained in:
14
Cmd/regenerate.sh
Executable file
14
Cmd/regenerate.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
PROJECT_NAME=$(find . -name "*.uproject" -exec basename {} .uproject \;)
|
||||
|
||||
sh Script/remove_binaries.sh
|
||||
|
||||
rm -rf $PROJECT_NAME.code-workspace\
|
||||
Makefile\
|
||||
Saved\
|
||||
.vscode
|
||||
|
||||
GenerateProjectFiles.sh -project="$PWD/$PROJECT_NAME.uproject" -game
|
||||
11
Cmd/remove_binaries.sh
Executable file
11
Cmd/remove_binaries.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
rm -rf Binaries\
|
||||
DerivedDataCache\
|
||||
Intermediate
|
||||
|
||||
rm -rf Plugins/*/Binaries\
|
||||
Plugins/*/DerivedDataCache\
|
||||
Plugins/*/Intermediate
|
||||
13
Cmd/resize_images.sh
Executable file
13
Cmd/resize_images.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# example:
|
||||
# sh resize_images.sh ./Game "*.PNG" 50%
|
||||
|
||||
IMAGES=$(find $1 -type f -name $2)
|
||||
|
||||
for image in $IMAGES
|
||||
do
|
||||
echo $image
|
||||
magick $image -resize $3 $image
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user