Skip to content

Commit

Permalink
work
Browse files Browse the repository at this point in the history
  • Loading branch information
AlphaKR93 committed Nov 1, 2024
1 parent 7a7a88a commit 2028e19
Show file tree
Hide file tree
Showing 9 changed files with 2,555 additions and 2,701 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
path: jdmain

- name: Validate Gradle Wrapper
uses: gradle/wrapper-validation-action@v1
uses: gradle/wrapper-validation-action@v3

- name: Set up GraalVM ${{ matrix.base_jdk }}
uses: graalvm/setup-graalvm@v1
Expand All @@ -72,9 +72,8 @@ jobs:
- name: Apply Patches
run: ./gradlew applyPatches --stacktrace

# TODO: fix tests
# - name: Build
# run: ./gradlew build --stacktrace
- name: Build
run: ./gradlew build --stacktrace

- name: Create Reobf Jar
run: ./gradlew createReobfPaperclipJar --stacktrace
Expand Down Expand Up @@ -115,7 +114,7 @@ jobs:
- name: Release Artifacts
if: startsWith(github.ref_name, 'ver/')
uses: softprops/action-gh-release@v0.1.15
uses: softprops/action-gh-release@v2
with:
name: "Build #${{ env.BUILD_NUMBER }} for ${{ env.VERSION }}"
tag_name: "build/${{ env.VERSION }}/${{ env.BUILD_NUMBER }}"
Expand All @@ -126,7 +125,7 @@ jobs:

- name: Release Artifacts (Latest/Stable)
if: startsWith(github.ref_name, 'ver/')
uses: softprops/action-gh-release@v0.1.15
uses: softprops/action-gh-release@v2
with:
name: "Build #${{ env.BUILD_NUMBER }} for ${{ env.VERSION }}"
tag_name: "build/${{ github.ref_name }}/latest"
Expand All @@ -137,7 +136,7 @@ jobs:

- name: Release Artifacts (Latest/Development)
if: startsWith(github.ref_name, 'dev/')
uses: softprops/action-gh-release@v0.1.15
uses: softprops/action-gh-release@v2
with:
name: "Development Build for ${{ env.VERSION }}"
tag_name: build/${{ env.VERSION }}/latest
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ out/
nbproject/
nbactions.xml

# vscode
.vscode/

# Gradle
!gradle-wrapper.jar
.gradle/
Expand Down
7 changes: 7 additions & 0 deletions initDev
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ export PROJECT_DIR=$(pwd)
alias api="cd $PROJECT_DIR/*-API"
alias srv="cd $PROJECT_DIR/*-Server"

alias g="./gradlew"
alias c="clear;"

alias ap="./gradlew --no-rebuild applyPatches"
alias aap="./gradlew --no-rebuild applyAPIPatches"
alias agp="./gradlew --no-rebuild applyGeneratedAPIPatches"
Expand All @@ -19,6 +21,11 @@ alias rap="./gradlew --no-rebuild rebuildAPIPatches"
alias rgp="./gradlew --no-rebuild rebuildGeneratedAPIPatches"
alias rsp="./gradlew --no-rebuild rebuildServerPatches"

alias run="./gradlew runDevServer"
alias build="./gradlew build"
alias reobf="./gradlew createReobfPaperclipJar"
alias mojmap="./gradlew createMojmapPaperclipJar"

alias lg="git log --oneline base..HEAD"
alias rc="git rebase --autosquash -i base"
alias rcc="git rebase --continue"
Expand Down
Loading

0 comments on commit 2028e19

Please sign in to comment.