Skip to content

Commit

Permalink
feat: Hermit support
Browse files Browse the repository at this point in the history
This piggy backs on the Hermit plugin to get the correct FTL version.
  • Loading branch information
stuartwdouglas committed Sep 2, 2024
1 parent f095c2f commit 68bb475
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 325 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,23 @@ jobs:
run: pnpm run lint
- name: VSCode extension pnpm build
run: just build-extension
plugin:
name: Intellij Plugin
if: github.event_name != 'pull_request' || github.event.action == 'enqueued' || contains( github.event.pull_request.labels.*.name, 'run-all')
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Init Hermit
uses: cashapp/activate-hermit@v1
with:
cache: true
- name: Build Cache
uses: ./.github/actions/build-cache
- name: Install Java
run: java -version
- name: Build Intellij Plugin
run: just build-intellij-plugin
build-all:
name: Rebuild All
if: github.event_name != 'pull_request' || github.event.action == 'enqueued' || contains( github.event.pull_request.labels.*.name, 'run-all')
Expand Down
3 changes: 3 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,9 @@ package-extension: build-extension
publish-extension: package-extension
@cd extensions/vscode && vsce publish

build-intellij-plugin:
@cd extensions/intellij && gradle buildPlugin

# Kotlin runtime is temporarily disabled; these instructions create a dummy zip in place of the kotlin runtime jar for
# the runner.
build-kt-runtime:
Expand Down
2 changes: 1 addition & 1 deletion extensions/intellij/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ tasks {

patchPluginXml {
sinceBuild.set("241")
untilBuild.set("241.*")
untilBuild.set("242.*")
}

signPlugin {
Expand Down
234 changes: 0 additions & 234 deletions extensions/intellij/gradlew

This file was deleted.

89 changes: 0 additions & 89 deletions extensions/intellij/gradlew.bat

This file was deleted.

Loading

0 comments on commit 68bb475

Please sign in to comment.