Move scripts away from the root directory

This commit is contained in:
KingRainbow44 2023-03-31 17:05:12 -04:00
parent 4a6ff4721c
commit 5bf5fb07a2
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE
12 changed files with 187 additions and 182 deletions

View File

@ -6,7 +6,7 @@ on:
- ".github/workflows/**"
- "src/main/**.java"
- "**.json"
- "manage_languages.py"
- "scripts/manage_languages.py"
branches:
- "stable"
- "development"
@ -15,7 +15,7 @@ on:
- ".github/workflows/**"
- "src/main/**.java"
- "**.json"
- "manage_languages.py"
- "scripts/manage_languages.py"
types:
- opened
- synchronize
@ -28,4 +28,4 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax
- run: python3 manage_languages.py -l
- run: python3 scripts/manage_languages.py -l

View File

@ -7,8 +7,8 @@ on:
- "src/main/**.java"
- "**.json"
- "build.gradle"
- "format_whitespace.py"
- "manage_languages.py"
- "scripts/format_whitespace.py"
- "scripts/manage_languages.py"
branches:
- "development"
jobs:
@ -24,7 +24,7 @@ jobs:
with:
python-version: '3.10'
- name: Run Whitespace Linter
run: python format_whitespace.py
run: python scripts/format_whitespace.py
- run: git config --global user.name "github-actions"
- run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- run: git stash
@ -37,7 +37,7 @@ jobs:
run: git add -u && git commit -m 'Fix whitespace [skip actions]' || true
- name: Update Languages
run: python manage_languages.py -u
run: python scripts/manage_languages.py -u
- name: Commit any language changes
run: git add -u && git commit -m 'Update languages [skip actions]' || true

View File

@ -1 +0,0 @@
./gradlew clean

View File

@ -1,2 +0,0 @@
call .\gradlew jar
pause

View File

@ -0,0 +1,4 @@
@echo off
call ..\gradlew clean
pause

4
scripts/gradlew-jar.bat Normal file
View File

@ -0,0 +1,4 @@
@echo off
call ..\gradlew jar
pause