mirror of https://github.com/kami-blue/client
[cleanup] Remove unrelated stuff in resources folder (#1742)
This commit is contained in:
parent
a367dc5708
commit
88bf7cf202
|
@ -51,7 +51,7 @@ echo "[$(date +"%H:%M:%S")] Running gradlew classes without daemon..."
|
|||
|
||||
#
|
||||
|
||||
cat src/main/resources/ascii.txt 2>/dev/null
|
||||
cat scripts/ascii.txt 2>/dev/null
|
||||
echo "=========================================================================="
|
||||
echo ""
|
||||
echo "[$(date +"%H:%M:%S")] Build succeeded! All checks passed, you can build normally now!"
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
# This script depends on json-minify
|
||||
# https://www.npmjs.com/package/json-minify
|
||||
|
||||
# Copyright (c) DaPorkchop_
|
||||
# 17/6/2017
|
||||
|
||||
file_list=()
|
||||
while IFS= read -d $'\0' -r file ; do
|
||||
file_list=("${file_list[@]}" "$file")
|
||||
done < <(find "." -type f -name "*.json" -print0)
|
||||
|
||||
# echo "${file_list[@]}"
|
||||
|
||||
for i in "${file_list[@]}"
|
||||
do
|
||||
:
|
||||
echo $i
|
||||
temp=$( json-minify $i )
|
||||
echo $temp > $i
|
||||
done
|
||||
|
||||
echo "Done!"
|
||||
echo "Minified ${#file_list[@]} files!"
|
Loading…
Reference in New Issue