Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Y
ygopro-custom-free
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
REIKAI
ygopro-custom-free
Commits
7cc8ce25
Commit
7cc8ce25
authored
Mar 16, 2025
by
nanahira
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add blacklist file check
parent
933a013d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
run.sh
run.sh
+16
-0
No files found.
run.sh
View file @
7cc8ce25
...
...
@@ -14,6 +14,14 @@ CURRENT_TIME=$(date +%s)
declare
-A
used_codes
blacklist_files
=(
"script/constants.lua"
"script/utility.lua"
"script/init.lua"
"script/specials.lua"
"script/procedure.lua"
)
something_changed
=
0
process_repo
()
{
repo_url
=
"
$1
"
...
...
@@ -58,6 +66,14 @@ process_repo() {
return
fi
# check for blacklist files
for
file
in
"
${
blacklist_files
[@]
}
"
;
do
if
[
-e
"workspace/
$repo_identifer
/
$file
"
]
;
then
echo
"Skipping
$repo_identifer
due to blacklist file:
$file
"
return
fi
done
# fetch previous hash
previous_hash
=
$(
curl
-sL
"https://cdn02.moecube.com:444/ygopro-custom-free/content/hashes/
$repo_identifer
.txt"
||
true
)
if
[[
$previous_hash
!=
$last_commit_hash
]]
;
then
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment