on master help sign in
put scripts back in
commit0e429d3a8d04371c7481f71b7431eeaea1ac502b authorAnthony Arroyo <anthony@tlon.io> dateWed 16 Jan 2019, 13:30 (8 years ago) parentbcf5d5b
2 files changed+21
scripts/docs+9 scripts/posts+12
scripts/docsnew file+9
@@ -0,0 +1,9 @@
1+#!/usr/bin/env bash
2+
3+mkdir "$@"/home/web; cp static-site/docs.udon "$@"/home/web
4+rm -rf "$@"/home/web/docs
5+cp -r static-site/docs "$@"/home/web/docs
6+cp static-site/index.hoon "$@"/home/web.hoon rm -rf "$@"/home/ren/partials
7+cp -r partials "$@"/home/ren/partials
8+cp urb.hoon "$@"/home/ren
9+exit
scripts/postsnew file+12
@@ -0,0 +1,12 @@
1+#!/usr/bin/env bash
2+
3+rm -rf "$@"/home/web/posts
4+echo posts
5+mkdir "$@"/home/web/posts; cp -r static-site/posts "$@"/home/web/posts
6+cp -r static-site/{images,assets,css,js} "$@"/home/web
7+cp static-site/index.hoon "$@"/home/web.hoon
8+cp static-site/*.hoon "$@"/home/web
9+rm -rf "$@"/home/ren/partials
10+cp -r partials "$@"/home/ren/partials
11+cp urb.hoon "$@"/home/re
12+exit