diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-05-08 22:28:00 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2021-05-08 22:31:49 +0700 |
commit | e42cd31db616f6771c1293fc642e8ec39986f8e5 (patch) | |
tree | eadba32338a24ef08512a08a8ddd88f10fcc86d3 | |
parent | dfc4b1d909ff6978902d3a0a4c9fc7646e4ad61c (diff) | |
download | blog-e42cd31db616f6771c1293fc642e8ec39986f8e5.tar.gz |
Fix build manifest I guess
-rw-r--r-- | .build.yml | 4 | ||||
-rwxr-xr-x | preprocess.sh | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/.build.yml b/.build.yml index 038ff62..fa581a3 100644 --- a/.build.yml +++ b/.build.yml @@ -11,14 +11,14 @@ tasks: cd openring go build -o openring sudo cp openring /usr/local/bin/ -- embed: +- embed: | git clone https://git.disroot.org/huyngo/conlang cp -r conlang/src $site/content/conlang cd $site/content/conlang mv index.md _index.md sed "s/\//_/g" SUMMARY.md | sed "s/\._/.\//g" | sed "s/.md/\//g" | grep -v "Introduction" >> _index.md rm SUMMARY.md - for file in $(find -type f); do ../../add-front-matter.sh $file; done + ../../preprocess.sh find -type f | grep "sh$" | xargs rm - package: | cd $site diff --git a/preprocess.sh b/preprocess.sh new file mode 100755 index 0000000..68a3692 --- /dev/null +++ b/preprocess.sh @@ -0,0 +1 @@ +for file in $(find -type f); do ../../add-front-matter.sh $file; done |