From a0f06a54ab3a2b0977de516768b9adb9587ec6c7 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 20 Feb 2021 16:55:28 +0100 Subject: [PATCH 1/3] Fix build target "javadoc-build" These errors blocked the build: - src/com/muchsoft/util/Sys.java:32: error: reference not found - src/ika/colororacle/ColorOracle.java:199: error: unknown tag: description - src/ika/colororacle/Simulator.java:77: error: unknown tag: normal --- src/com/muchsoft/util/Sys.java | 2 +- src/ika/colororacle/ColorOracle.java | 2 +- src/ika/colororacle/Simulator.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/com/muchsoft/util/Sys.java b/src/com/muchsoft/util/Sys.java index e7c5922..e5d1754 100755 --- a/src/com/muchsoft/util/Sys.java +++ b/src/com/muchsoft/util/Sys.java @@ -29,7 +29,7 @@ package com.muchsoft.util; *

Version History:

*
*
2004-10-13 - *
Added a new package, com.muchsoft.util.mac, and a new class, {@link Mac}. + *
Added a new package, com.muchsoft.util.mac, and a new class, Mac. *
2004-05-04 *
isMacOSX() now matches http://developer.apple.com/technotes/tn2002/tn2110.html *
2003-12-02 diff --git a/src/ika/colororacle/ColorOracle.java b/src/ika/colororacle/ColorOracle.java index eaa8ff5..8c16211 100755 --- a/src/ika/colororacle/ColorOracle.java +++ b/src/ika/colororacle/ColorOracle.java @@ -196,7 +196,7 @@ public class ColorOracle extends WindowAdapter implements KeyListener, FocusList * Loads a raster icon from the /ika/icons/ folder. * * @param name The name of the icon. - * @description A description of the icon that is attached to it. + * @param description A description of the icon that is attached to it. * @return An ImageIcon. * */ diff --git a/src/ika/colororacle/Simulator.java b/src/ika/colororacle/Simulator.java index 9b4537d..b42f0d2 100755 --- a/src/ika/colororacle/Simulator.java +++ b/src/ika/colororacle/Simulator.java @@ -74,7 +74,7 @@ public class Simulator { /** * Filter an image and return a new image with the filtered result. * - * @normal The image with normal vision. + * @param normal The image with normal vision. * @return The image with simulated color vision impairment. */ protected BufferedImage filter(BufferedImage normal) { From 33c079e7ae0ddf9352e473cedcea4068b1274a5b Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 20 Feb 2021 17:06:04 +0100 Subject: [PATCH 2/3] Use GitHub Actions to build on Linux using Apache Ant --- .github/workflows/build.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..a6b362e --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +# Copyright (C) 2021 Sebastian Pipping +# Licensed under the MIT license + +name: Build on Linux using Apache Ant + +on: + pull_request: + push: + schedule: + - cron: '0 4 * * 5' # Every Friday at 4am + +jobs: + build_and_test: + name: Build on Linux using Apache Ant + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2.3.4 + + - name: Install dependencies + run: |- + sudo apt install --yes --no-install-recommends \ + ant \ + openjdk-11-jdk + + - name: Build + run: |- + ant + git ls-files -o From c82287f9657ddc19983eff396390ac31633fc7c3 Mon Sep 17 00:00:00 2001 From: Sebastian Pipping Date: Sat, 20 Feb 2021 17:07:18 +0100 Subject: [PATCH 3/3] Use GitHub Dependabot to keep the GitHub Actions up to date --- .github/dependabot.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..b149019 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# Copyright (C) 2021 Sebastian Pipping +# Licensed under the MIT license + +version: 2 +updates: + + - package-ecosystem: "github-actions" + commit-message: + include: "scope" + prefix: "Actions" + directory: "/" + labels: + - "enhancement" + schedule: + interval: "weekly"