macos-defaults/build/github/build.js
Yann Bertrand 062d8b5217
👷 Add a GitHub build Action
Co-authored-by: Yvonnick FRIN <frin.yvonnick@gmail.com>
2020-09-20 11:18:39 +02:00

11 lines
312 B
JavaScript

const fs = require('fs')
const YAML = require('yaml')
const writeInitialTree = require('./write-initial-tree')
const writeTree = require('./write-tree')
const input = fs.readFileSync('../../defaults.yml', 'utf8')
const defaults = YAML.parse(input)
writeInitialTree('dist-initial')
writeTree(defaults, 'dist')