Skip to content

robfrank/exercises

Repository files navigation

Codacy Badge Codacy Badge security status stability status Mergify Status

Exercises!

This repository contains code exercises, it is a sort of my code gym

Build Instructions

Prerequisites

  • JDK 23
  • Maven 3.9+ (Wrapper included)

Building the Project

To build the project, run:

./mvnw clean package

To skip tests during build:

./mvnw clean package -DskipTests

Running Tests

./mvnw test

Building Native Binaries and Docker Images

The project supports building both native executables and Docker images. You can build them together using:

# Build everything with both native and docker profiles
./mvnw clean package -Pdocker,native

Native binaries will be created in the respective target directories:

  • cli/target/exercises-cli
  • web-javalin/target/exercises-web-javalin

The Docker image will be built as robfrank/exercises-web with tags for latest and the current version.

Release Process

This project uses GitHub Actions for automated releases. To create a new release:

  1. Tag the commit with a version number using the format v*.*.*:

    git tag v1.0.0
    git push origin v1.0.0
  2. The tag push will trigger the automated release workflow, which:

    • Runs pre-commit checks
    • Builds the project
    • Creates a GitHub release with the built JAR files
    • Generates release notes automatically

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 7