[cleanup] Remove unrelated stuff in resources folder (#1742)

This commit is contained in:
Xiaro 2020-12-08 12:01:14 -05:00 committed by GitHub
parent a367dc5708
commit 88bf7cf202
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 26 deletions

View File

@ -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!"

View File

@ -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!"