atom-beautify

This commit is contained in:
6543 2018-05-07 01:11:25 +02:00
parent 801da8e4af
commit b6eb652c50

View File

@ -9,29 +9,29 @@
# install | clean | debug # install | clean | debug


function clean() { function clean() {
echo "clear build" echo "clear build"
[ -d build ] && rm -v -R build [ -d build ] && rm -v -R build
mkdir build mkdir build
} }


function build() { function build() {
echo "build ..." echo "build ..."
## skripte copieren ## ## skripte copieren ##
# remaster # remaster
mkdir -p build/usr/bin/ mkdir -p build/usr/bin/
cp -v src/remaster.sh build/usr/bin/remaster cp -v src/remaster.sh build/usr/bin/remaster
chmod +x build/usr/bin/remaster chmod +x build/usr/bin/remaster


# modules # modules
mkdir -p build/usr/lib/remaster/ mkdir -p build/usr/lib/remaster/
for i in proj func mods; do for i in proj func mods; do
mkdir -p build/usr/lib/remaster/$i mkdir -p build/usr/lib/remaster/$i
cp -v src/$i/* build/usr/lib/remaster/$i/ cp -v src/$i/* build/usr/lib/remaster/$i/
done done


# setting # setting
mkdir -p build/etc/remaster/ mkdir -p build/etc/remaster/
cp -v src/config.sample.cfg build/etc/remaster/config.sample.cfg cp -v src/config.sample.cfg build/etc/remaster/config.sample.cfg


} }