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/**" - ".github/workflows/**"
- "src/main/**.java" - "src/main/**.java"
- "**.json" - "**.json"
- "manage_languages.py" - "scripts/manage_languages.py"
branches: branches:
- "stable" - "stable"
- "development" - "development"
@ -15,7 +15,7 @@ on:
- ".github/workflows/**" - ".github/workflows/**"
- "src/main/**.java" - "src/main/**.java"
- "**.json" - "**.json"
- "manage_languages.py" - "scripts/manage_languages.py"
types: types:
- opened - opened
- synchronize - synchronize
@ -28,4 +28,4 @@ jobs:
- uses: actions/setup-python@v4 - uses: actions/setup-python@v4
with: with:
python-version: '3.10' # Version range or exact version of a Python version to use, using SemVer's version range syntax 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" - "src/main/**.java"
- "**.json" - "**.json"
- "build.gradle" - "build.gradle"
- "format_whitespace.py" - "scripts/format_whitespace.py"
- "manage_languages.py" - "scripts/manage_languages.py"
branches: branches:
- "development" - "development"
jobs: jobs:
@ -24,7 +24,7 @@ jobs:
with: with:
python-version: '3.10' python-version: '3.10'
- name: Run Whitespace Linter - 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.name "github-actions"
- run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - run: git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
- run: git stash - run: git stash
@ -37,7 +37,7 @@ jobs:
run: git add -u && git commit -m 'Fix whitespace [skip actions]' || true run: git add -u && git commit -m 'Fix whitespace [skip actions]' || true
- name: Update Languages - name: Update Languages
run: python manage_languages.py -u run: python scripts/manage_languages.py -u
- name: Commit any language changes - name: Commit any language changes
run: git add -u && git commit -m 'Update languages [skip actions]' || true 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