mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 05:19:17 +00:00
Move scripts away from the root directory
This commit is contained in:
parent
4a6ff4721c
commit
5bf5fb07a2
6
.github/workflows/language_lint.yml
vendored
6
.github/workflows/language_lint.yml
vendored
@ -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
|
||||||
|
8
.github/workflows/lint_commit.yml
vendored
8
.github/workflows/lint_commit.yml
vendored
@ -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
|
||||||
|
@ -1 +0,0 @@
|
|||||||
./gradlew clean
|
|
@ -1,2 +0,0 @@
|
|||||||
call .\gradlew jar
|
|
||||||
pause
|
|
4
scripts/gradlew-clean.bat
Normal file
4
scripts/gradlew-clean.bat
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
call ..\gradlew clean
|
||||||
|
pause
|
4
scripts/gradlew-jar.bat
Normal file
4
scripts/gradlew-jar.bat
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
@echo off
|
||||||
|
|
||||||
|
call ..\gradlew jar
|
||||||
|
pause
|
Loading…
Reference in New Issue
Block a user