mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-27 17:12:18 +00:00
quick script for local builds
This commit is contained in:
parent
92e1d50f1b
commit
9ed755ff86
2 changed files with 14 additions and 5 deletions
12
.gitignore
vendored
12
.gitignore
vendored
|
@ -1,6 +1,8 @@
|
||||||
.hugo_build.lock
|
.hugo_build.lock
|
||||||
node_modules/
|
/node_modules/
|
||||||
package-lock.json
|
/package-lock.json
|
||||||
package.json
|
/package.json
|
||||||
public/
|
/public/
|
||||||
resources/
|
/resources/
|
||||||
|
/.env
|
||||||
|
|
||||||
|
|
7
build.sh
Executable file
7
build.sh
Executable file
|
@ -0,0 +1,7 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
# Quick script to run local builds
|
||||||
|
source .env
|
||||||
|
hugo --minify --environment local
|
||||||
|
npx torchlight
|
||||||
|
python3 -m http.server --directory public 1313
|
||||||
|
|
Loading…
Reference in a new issue