commit 8a3e03c5892f6dc3a9562f76a1cdf54404e65e17
parent 50a6f2473953019b6d15216da013e59fe10ec8a3
Author: Louis Burda <quent.burda@gmail.com>
Date: Sun, 9 Apr 2023 10:29:23 -0400
Revise repo structure
Diffstat:
10 files changed, 5 insertions(+), 56 deletions(-)
diff --git a/.gitmodules b/.gitmodules
@@ -1,3 +0,0 @@
-[submodule "aoc-helper"]
- path = helper
- url = git@github.com:Sinitax/aoc-helper.git
diff --git a/README.md b/README.md
@@ -0,0 +1,5 @@
+## Advent Of Code 2020
+
+Solutions to the annual [coding advent calendar](https://adventofcode.com) written in [Rust](https://www.rust-lang.org/).
+
+The version of rust used to compile the code is: `1.68.2`
diff --git a/data/helper/config b/data/helper/config
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-# year you are solving problems for
-export AOCYEAR=2021
-
-# directory you want day directories to be prepared in (format: src/dayN/..)
-export SRCDIR="src"
-
-# specify what files to copy to your day directory on prepare
-export TEMPLATE_DIR="data/helper/template"
-export TEMPLATE_FILES="
-src/main.rs:src/main.rs
-Cargo.toml:Cargo.toml
-"
-
diff --git a/data/helper/init.sh b/data/helper/init.sh
@@ -1,9 +0,0 @@
-#!/bin/bash
-
-REPOROOT=$(git rev-parse --show-toplevel)
-
-ln -sf "$REPOROOT/data/helper/config" "$REPOROOT/helper/data/config"
-
-for f in "$REPOROOT/data/helper/scripts"/*; do
- ln -sf "$f" "$REPOROOT/helper/scripts"
-done
diff --git a/data/helper/template/Cargo.toml b/data/helper/template/Cargo.toml
@@ -1,7 +0,0 @@
-[package]
-name = "aoc"
-version = "0.1.0"
-edition = "2021"
-
-[dependencies]
-
diff --git a/data/helper/template/src/main.rs b/data/helper/template/src/main.rs
@@ -1,21 +0,0 @@
-use std::fs;
-use std::env;
-
-fn main() {
- let args: Vec<String> = env::args().collect();
- if args[1] == "1" {
- part1();
- } else if args[1] == "2" {
- part2();
- } else {
- eprintln!("No such part\n");
- }
-}
-
-fn part1() {
-
-}
-
-fn part2() {
-
-}
diff --git a/helper b/helper
@@ -1 +0,0 @@
-Subproject commit f9919452994c201e445ebb321ad594b267c851c4
diff --git a/.gitignore b/src/.gitignore
diff --git a/lib/aoc/Cargo.toml b/src/common/aoc/Cargo.toml
diff --git a/lib/aoc/src/lib.rs b/src/common/aoc/src/lib.rs