-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
156 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name: continuous-integration | ||
on: push | ||
|
||
jobs: | ||
test: | ||
runs-on: ${{matrix.os}} | ||
strategy: | ||
matrix: | ||
os: [macos-latest, ubuntu-latest, windows-latest] | ||
steps: | ||
- name: Fetch sources | ||
uses: actions/checkout@v4 | ||
- name: Set up Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: 21 | ||
- name: Set up Ant | ||
uses: cedx/setup-ant@v2 | ||
with: | ||
optional-tasks: true | ||
- name: Cache dependencies | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.ivy2/cache | ||
key: ${{runner.os}}-ivy-${{hashFiles('**/ivy.xml')}} | ||
restore-keys: ${{runner.os}}-ivy- | ||
- name: Install dependencies | ||
run: ant install | ||
- name: Run tests | ||
run: ant -emacs test | ||
deploy: | ||
needs: test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Fetch sources | ||
uses: actions/checkout@v4 | ||
- name: Set up Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: temurin | ||
java-version: 21 | ||
- name: Set up Ant | ||
uses: cedx/setup-ant@v2 | ||
with: | ||
optional-tasks: true | ||
- name: Set up Python | ||
uses: actions/setup-python@v5 | ||
with: | ||
cache: pip | ||
python-version: 3.12 | ||
- name: Install dependencies | ||
run: pip install --requirement=etc/requirements.txt | ||
- name: Deploy documentation | ||
run: | | ||
ant doc | ||
mkdocs gh-deploy --config-file=etc/mkdocs.yaml --force |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
/**/.DS_Store | ||
/.idea/ | ||
/*.iml | ||
/bin/ | ||
/docs/api/ | ||
/etc/http-client.private.env.json | ||
/lib/ | ||
/src/picocli/ | ||
/var/ | ||
/www/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
body { | ||
--md-code-font-family: ui-monospace, monospace; | ||
--md-text-font-family: ui-sans-serif, sans-serif; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
site_name: Which for Java | ||
site_url: https://docs.belin.io/which.java | ||
site_author: Cédric Belin - [email protected] | ||
site_description: > | ||
Find the instances of an executable in the system path, in Java. | ||
Like the `which` Linux command. | ||
docs_dir: ../docs | ||
site_dir: ../www | ||
use_directory_urls: false | ||
|
||
edit_uri: edit/main/docs/ | ||
repo_name: cedx/which.java | ||
repo_url: https://github.com/cedx/which.java | ||
|
||
copyright: Copyright © Cédric Belin | ||
extra: | ||
social: | ||
- icon: fontawesome/brands/github | ||
link: https://github.com/cedx | ||
name: GitHub | ||
- icon: fontawesome/brands/linkedin | ||
link: https://linkedin.com/in/cedxbelin | ||
name: LinkedIn | ||
- icon: fontawesome/brands/mastodon | ||
link: https://mastodon.social/@cedx | ||
name: Mastodon | ||
|
||
extra_css: | ||
- styles.css | ||
|
||
markdown_extensions: | ||
- admonition | ||
- pymdownx.superfences | ||
|
||
nav: | ||
- Home: index.md | ||
- Usage: | ||
- Programming interface: usage/api.md | ||
- Command line: usage/cli.md | ||
- See also: | ||
- API reference: api/ | ||
- Changelog: changelog.md | ||
- License: license.md | ||
|
||
theme: | ||
favicon: favicon.svg | ||
features: | ||
- content.code.copy | ||
- content.tooltips | ||
- navigation.footer | ||
- navigation.instant | ||
- navigation.instant.progress | ||
- navigation.sections | ||
- search.suggest | ||
font: false | ||
logo: favicon.svg | ||
name: material | ||
palette: | ||
accent: red | ||
primary: red |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
mkdocs-material |