Skip to content

Commit

Permalink
easy-compile-editor
Browse files Browse the repository at this point in the history
  • Loading branch information
humbertodias committed Feb 8, 2024
1 parent d637e05 commit 0f13177
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/compile-editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
path: editor

- name: Set up JDK 8 for x64
uses: actions/setup-java@v3
Expand All @@ -25,9 +23,7 @@ jobs:

- name: Build
run: |
ls -lha
cd editor && chmod +x gradlew && ./gradlew build
ls -lha build/libs
./easy-compile-editor
- name: Archive Folder
uses: actions/upload-artifact@v2
Expand Down
14 changes: 14 additions & 0 deletions easy-compile-editor
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

# If you are trying to compile Paintown from source but have no idea what to do
# try running this script. It will attempt to install all the dependencies you
# need and compile Paintown.

echo This script uses 'sudo' to install packages. 'sudo' temporarily elevates
echo your priveleges so that new packages can be installed on your system.
echo When prompted for a password type the password you use to login.

cd editor && ./gradlew build && cp build/libs/editor.jar .

ls -l *.jar
echo "Here is the executable. To run it type: cd editor && ./run.sh"
1 change: 1 addition & 0 deletions editor/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
# Ignore Gradle build output directory
build
.idea
editor.jar

0 comments on commit 0f13177

Please sign in to comment.