Skip to content

Commit

Permalink
Merge pull request #17 from metafacture/16-buildWithUnix
Browse files Browse the repository at this point in the history
Build only with UNIX
  • Loading branch information
katauber authored Dec 1, 2023
2 parents 053c0a3 + c6d9723 commit 628089a
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Set up Node 14
uses: actions/setup-node@v4
with:
node-version: 14
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v1
- name: Set up Node 14
uses: actions/setup-node@v4
with:
node-version: 14
- name: Set up vsce
run: npm install -g vsce
- name: Set up JDK 1.8
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 1.8
java-version: 11
- name: Build with Gradle
run: |
chmod +x gradlew
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ The project `org.metafacture.flux.vsc` provides an extension for Visual Studio C

Build extension:

> [!IMPORTANT]
> There is a problem when building the extension on Windows and installing the extension on a Linux system afterwards. In some cases the Xtext Server won't start. So if you want to use the extension not only on Windows, build the extension on a Linux system or on a Linux Subsystem on Windows.
1. Install Visual Studio Code / alternative: VS Codium
2. Install Node.js (including npm)
3. Clone metafacture-flux project and change directory
Expand Down
2 changes: 1 addition & 1 deletion org.metafacture.flux.vsc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "flux",
"displayName": "flux",
"description": "Language Support for Metafacture Flux (Xtext Language Server for Metfacture Flux). For more information, visit https://metafacture.org",
"version": "0.0.2",
"version": "0.1.0",
"publisher": "metafacture",
"license": "Apache-2.0",
"engines": {
Expand Down

0 comments on commit 628089a

Please sign in to comment.