https://github.com/gregorwolf/abap-advent-2021
Advent of Code 2021 in ABAP
https://github.com/gregorwolf/abap-advent-2021
Last synced: 9 months ago
JSON representation
Advent of Code 2021 in ABAP
- Host: GitHub
- URL: https://github.com/gregorwolf/abap-advent-2021
- Owner: gregorwolf
- License: unlicense
- Created: 2021-12-04T18:37:38.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-01T04:57:42.000Z (about 3 years ago)
- Last Synced: 2025-04-04T06:11:17.916Z (about 1 year ago)
- Language: ABAP
- Size: 55.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# abap-advent-2020-template
[Advent of Code](https://adventofcode.com) 2020 - ABAP Template
Let's do it the difficult way! By ABAP running on [NodeJS](https://nodejs.org)
## Prerequsites
NodeJS 12 installed
No ABAP system required
However, _a lot_ of patience is required to get the ABAP running in Node, this will involve debugging of javascript and typescript code!
## Initial Setup
After cloning this template repository, please rename all objects, this is done by changing the configuration in `abaplint.json` and then running `npm install && npm run rename`
Enable [abaplint.app](https://github.com/marketplace/abaplint) to get nice linter errors.
Adjust `abaplint.json` to match your preferences
## Commands
`npm install` to install dependencies, make sure to keep file `package.json` up to date with latest dependencies
`npm run lint` to run linter
`npm run downport` will downport the code to 702, into directory "downport"
`npm run unit` takes downported code, transpiles it, and runs unit tests
`npm test` does linting, downporting and unit testing in that sequence
`npm run input -- 01` to run day 01 with input from `/input/day01.txt`