You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
484 B
TOML
27 lines
484 B
TOML
[build]
|
|
release = false
|
|
dist = "dist"
|
|
public_url = "/"
|
|
|
|
[watch]
|
|
ignore = ["temp"]
|
|
|
|
[serve]
|
|
address = "0.0.0.0"
|
|
port = 3000
|
|
|
|
[[hooks]]
|
|
stage = "pre_build"
|
|
command = "sh"
|
|
command_arguments = ["-c", "mkdir -p ./temp && tar -xzf ./test-archive.tar.gz -C ./temp"]
|
|
|
|
[[hooks]]
|
|
stage = "pre_build"
|
|
command = "cp"
|
|
command_arguments = ["-r", "./temp/", "./dist/.stage/media" ]
|
|
|
|
[[hooks]]
|
|
stage = "pre_build"
|
|
command = "cp"
|
|
command_arguments = ["-r", "./resources/", "./dist/.stage/resources" ]
|