Build in parallel

This commit is contained in:
arne 2022-10-06 23:06:23 +02:00
commit 8733a90251
3 changed files with 9 additions and 8 deletions

6
scripts/build.sh Executable file
View file

@ -0,0 +1,6 @@
#!/usr/bin/env sh
cmd="${1:-build}"
printf "
pnpm run ${cmd}:eleventy
pnpm run ${cmd}:sass
" | xargs -P 0 -I '{}' sh -c '{}'