mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2024-11-05 01:26:20 +00:00
ba64e06ca7
Previously illumainate required manual users to manually download it and place it in ./bin/. This is both inconvenient for the user, and makes it hard to ensure people are running the "right" version. We now provide a small Gradle plugin which registers illuaminate as a ependency, downloading the appropriate (now versioned!) file. This also theoretically supports Macs, though I don't have access to one to test this. This enables the following changes: - The Lua lint script has been converted to a Gradle task (./gradle lintLua). - illuaminateDocs now uses a task definition with an explicit output directory. We can now consume this output as an input to another task, and get a task dependency implicitly. - Move the pre-commit config into the root of the tree. We can now use the default GitHub action to run our hooks. - Simplify CONTRIBUTING.md a little bit. Hopefully it's less intimidating now.
23 lines
446 B
YAML
23 lines
446 B
YAML
image:
|
|
file: config/gitpod/Dockerfile
|
|
|
|
ports:
|
|
- port: 25565
|
|
onOpen: notify
|
|
|
|
vscode:
|
|
extensions:
|
|
- eamodio.gitlens
|
|
- github.vscode-pull-request-github
|
|
- ms-azuretools.vscode-docker
|
|
- redhat.java
|
|
- richardwillis.vscode-gradle
|
|
- vscjava.vscode-java-debug
|
|
- vscode.github
|
|
|
|
tasks:
|
|
- name: Setup pre-commit hool
|
|
init: pre-commit install --allow-missing-config
|
|
- name: Install npm packages
|
|
init: npm ci
|