3 ms·
Looks nice. As someone unfamiliar with Make, can someone explain why YAML is a bad idea for something like this? My favorite part (unironically) is how this is
by isthisreality 5y ago
Looks nice. As someone unfamiliar with Make, can someone explain why YAML is a bad idea for something like this?
My favorite part (unironically) is how this is written in TypeScript. Easier for me to contribute features and fixes.
- isthisreality 5y agoBtw, you should add a JSON schema for the build.yaml data, so VSCode can provide auto completion. https://brunopaz.dev/blog/how-to-create-your-own-auto-completion-for-json-and-yaml-files-on-vs-code-with-the-help-of-json-schema https://brunopaz.dev/blog/how-to-create-your-own-auto-comple...
- no0dles 5y agoAwesome, will do! Did use JSON schema before, but didn't know it can be used for yaml as well.
- nwmcsween 5y agoYou can create a DAG in yaml it's just that 99% of projects ignore creating a graph and just treat 'build rules' as an imperative script. The other problem with YAML-as-a-lang is eventually you need to express something that isn't just static key vals (see ansible) and turns into a quite a mess.