mirror of
https://github.com/jbowdre/runtimeterror.git
synced 2024-11-26 00:42:18 +00:00
quick script for local builds
This commit is contained in:
parent
af550cf545
commit
4567ca7101
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