Skip to content

Commit

Permalink
add fancy puzzle tiles to the root README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
StarlitGhost committed Dec 26, 2023
1 parent 10d99fe commit ed2e700
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ cython_debug/
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/

# AoC Tiles
.aoc_tiles/*
!.aoc_tiles/tiles/

# VS Code project settings
.vscode/

Expand Down
17 changes: 17 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
repos:
- repo: https://github.com/LiquidFun/aoc_tiles
rev: 0.5.5
hooks:
- id: aoc-tiles
# Optionally use these arguments. Auto add tiles to git adds the tiles to git,
# possibly amends your commit by creating the tile images and updating the README.
# Language sorting shows the preference of the order of the languages to use.
# Exclude paterns are globs which can be used to exclude files when creating
# the tiles. See the customization section in the README for more flags.
# Simply remove the comments (#) below for args and the flags you want.
args:
- --auto-add-tiles-to-git=amend
- --language-sorting=py,rs
- --exclude-patterns="utils/*"
- --what-to-show-on-right-side=checkmark
- --count-as-solved-when=on_leaderboard
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# Advent of Code
My solutions to the yearly Advents of Code

<!-- AOC TILES BEGIN -->
<!-- AOC TILES END -->

0 comments on commit ed2e700

Please sign in to comment.