This repository has been archived on 2024-04-19. You can view files and clone it, but cannot push or open issues or pull requests.
crispage-lite/build.sh
2023-12-07 17:10:41 -05:00

24 lines
406 B
Bash
Executable File

#!/bin/bash
rm -rf build;
if [[ -d source ]]; then
cp -r source build;
else
git clone https://git.calitabby.com/crispage/crispage.git build;
cp -r build source;
fi;
while IFS= read -r line; do
if [[ "$line" != "" ]]; then
rm -rf build/"$line";
fi;
done < delete.list;
cp -r patch/* build;
read -p "Copy build folder? [y/n]" copy
if [[ "$copy" = "y" ]]; then
rm -rf lite;
cp -r build lite;
fi;