Update content
This commit is contained in:
parent
a844b21356
commit
e345d2fef7
10 changed files with 93 additions and 4 deletions
13
run
13
run
|
|
@ -4,13 +4,24 @@ set -o errexit
|
|||
set -o nounset
|
||||
set -o pipefail
|
||||
|
||||
export PATH="${PATH}:./result/bin"
|
||||
|
||||
function clean {
|
||||
rm -fr dst "${@}"
|
||||
mkdir dst
|
||||
}
|
||||
|
||||
function css-build {
|
||||
tailwindcss --config assets/tailwind.config.ts \
|
||||
--output src/css/tailwind.css "${@}"
|
||||
}
|
||||
|
||||
function generate {
|
||||
./result/bin/ssg "src" "dst" "test" "http://localhost"
|
||||
ssg "src" "dst" "Oliver Davies" "https://www.oliverdavies.uk"
|
||||
}
|
||||
|
||||
function watch {
|
||||
find src -type f | entr ./run generate
|
||||
}
|
||||
|
||||
function help {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue