Giter Club home page Giter Club logo

advent-of-code-2021's Introduction

Advent of Code 2021

              _                 _            __    _____          _        ___   ___ ___  __
     /\      | |               | |          / _|  / ____|        | |      |__ \ / _ \__ \/_ |
    /  \   __| |_   _____ _ __ | |_    ___ | |_  | |     ___   __| | ___     ) | | | | ) || |
   / /\ \ / _` \ \ / / _ \ '_ \| __|  / _ \|  _| | |    / _ \ / _` |/ _ \   / /| | | |/ / | |
  / ____ \ (_| |\ V /  __/ | | | |_  | (_) | |   | |___| (_) | (_| |  __/  / /_| |_| / /_ | |
 /_/    \_\__,_| \_/ \___|_| |_|\__|  \___/|_|    \_____\___/ \__,_|\___| |____|\___/____||_|

Made with Java GitHub

My attempt at the Advent of Code for 2021 using Java


Advent of Code 2021 Progress

M D W D F S S
⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐ ⭐
⭐ ⭐ ⭐ ⭐ 10 11 12
13 14 15 16 17 18 19
21 22 23 24 25

Getting Started

These instructions will get you a copy of the project up and running on your local machine for testing purposes.

Prerequisites

  • You will need Java 1.8 or higher installed and configured on your system PATH.
    It's best to use the OpenJDK, Windows users can get binaries from AdoptOpenJDK.
  • Apache Maven 3+

Installing and Running

  1. Clone the repository:
    git clone https://github.com/Skerwe/Advent-of-Code-2021.git

  2. In bash/terminal/command line, cd into the project directory:
    cd Advent-of-Code-2021

  3. Compile and build the application:
    mvn compile package

Run the application for all days:

mvn compile exec:java -Dexec.mainClass="za.web.skerwe.adventofcode2021.Main"

Run the application for a specific day:

mvn compile exec:java -Dexec.mainClass="za.web.skerwe.adventofcode2021.Main" -Dexec.arguments="D01,D03"

The final output of the challenge is printed to the console.

Maven Site and Reports

Access the Maven dashboard site on localhost:8080

mvn site site:run

The site will include all other reports, like the test reports, code coverage and code quality reports.
But you can run each report separatly:

1. Surefire Test Reports

mvn surefire-report:report

Test report output to folder:

target\site\surefire-reports

2. Javadocs

mvn javadoc:javadoc

Javadocs output folder:

target\site\apidocs

3. Code Coverage

mvn jacoco:check

4. Code Quality

mvn checkstyle:check
mvn pmd:check

This project was built with

License

The source code is free -- see the LICENSE file for details

advent-of-code-2021's People

Contributors

skerwe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.