mirror of
https://github.com/yannbertrand/macos-defaults
synced 2024-12-14 21:52:33 +00:00
062d8b5217
Co-authored-by: Yvonnick FRIN <frin.yvonnick@gmail.com>
11 lines
312 B
JavaScript
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')
|