mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-22 00:45:34 +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/**"
|
||||
- "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
|
||||
|
8
.github/workflows/lint_commit.yml
vendored
8
.github/workflows/lint_commit.yml
vendored
@ -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
|
||||
|
@ -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