~will-clarke/super-simple-static-site-generator

bdb902cf99409b68c611b04321b9c66dddd85f46 — William Clarke 2 years ago 920834f
Create directories recursively for dst
1 files changed, 1 insertions(+), 1 deletions(-)

M ssssg
M ssssg => ssssg +1 -1
@@ 7,9 7,9 @@

main() {
    # Some housekeeping that's probably not 100% necessary

    rm -rf dst tmp && mkdir -p src/css src/posts \
        dst/posts dst/tags tmp/tags tmp/posts
    find src -type d | sed 's/src/dst/' | xargs mkdir -p
    touch src/config.yaml src/_top.html src/_bottom.html src/_header.html

    # Generate tmp/posts/*.md, tmp/index.md, tmp/posts.md, tmp/tags.md,