mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-23 23:42:19 +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
|
||||
node_modules/
|
||||
package-lock.json
|
||||
package.json
|
||||
public/
|
||||
resources/
|
||||
/node_modules/
|
||||
/package-lock.json
|
||||
/package.json
|
||||
/public/
|
||||
/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