Skip to content

Commit

Permalink
chore: Earthly build script
Browse files Browse the repository at this point in the history
  • Loading branch information
notmeta committed Aug 13, 2022
1 parent 5a42865 commit fc418ad
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Earthfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
FROM amazoncorretto:8

WORKDIR cs2-editor

gradle:
COPY build.gradle settings.gradle gradlew .
COPY ./gradle ./gradle
RUN ./gradlew build

build:
FROM +gradle
COPY ./src ./src

RUN ./gradlew build

SAVE ARTIFACT ./cs2-editor-*.jar /cs2-editor.jar

0 comments on commit fc418ad

Please sign in to comment.