Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/larshp/abap-advent-2020
abap-advent-2020
https://github.com/larshp/abap-advent-2020
abap advent-of-code advent-of-code-2020
Last synced: 3 months ago
JSON representation
abap-advent-2020
- Host: GitHub
- URL: https://github.com/larshp/abap-advent-2020
- Owner: larshp
- License: unlicense
- Created: 2020-11-30T15:42:43.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-10-01T13:52:19.000Z (over 1 year ago)
- Last Synced: 2024-10-04T18:54:00.087Z (3 months ago)
- Topics: abap, advent-of-code, advent-of-code-2020
- Language: ABAP
- Homepage:
- Size: 124 KB
- Stars: 7
- Watchers: 5
- Forks: 0
- Open Issues: 2
-
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 TemplateLet's do it the difficult way! By ABAP running on [NodeJS](https://nodejs.org)
## Prerequisites
NodeJS 16+ 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`