Skip to content

Commit

Permalink
feat: templatize new day creation
Browse files Browse the repository at this point in the history
Create new days with `npm run new`. A new day's folder will be created
based on input year and day.
  • Loading branch information
amclin committed Dec 7, 2020
1 parent 40c94fa commit 7f50125
Show file tree
Hide file tree
Showing 7 changed files with 1,990 additions and 12 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
[![Build Status](https://travis-ci.com/amclin/advent-of-code.svg?branch=master)](https://travis-ci.com/amclin/advent-of-code)
[![codecov](https://codecov.io/gh/amclin/advent-of-code/branch/master/graph/badge.svg)](https://codecov.io/gh/amclin/advent-of-code)

## Start a boilerplate for a new day
`npm run new`
### Special Instructions
Run by modifying `index.js` to point to the puzzle you want to execute.

#### 2019:Day 02
Day 2 requires the use of BigInt which is added to Javascript in ES2020 and I didn't include a polyfill.
This limits the solution to [Javascript engines with BigInt support](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/BigInt#Browser_compatibility)
Expand Down
Loading

0 comments on commit 7f50125

Please sign in to comment.