44 lines
1.5 KiB
TOML
44 lines
1.5 KiB
TOML
# This is a config file for a site, that cuontains necessary settings
|
|
#
|
|
# Sources for the website
|
|
# All repos should be mirrored to https://git.fsfe.org/fsfe-system-hackers-mirrors
|
|
#
|
|
# SCRIPTS
|
|
[[dependencies]]
|
|
repo = "https://git.fsfe.org/fsfe-system-hackers-mirrors/jquery"
|
|
rev = "3.5.1"
|
|
file_sets = [
|
|
{ source = "/dist/jquery.min.js", target = "scripts/thirdparty/" },
|
|
{ source = "/dist/jquery.min.map", target = "scripts/thirdparty/" },
|
|
]
|
|
|
|
[[dependencies]]
|
|
repo = "https://git.fsfe.org/fsfe-system-hackers-mirrors/lunr.js"
|
|
rev = "v2.3.9"
|
|
file_sets = [{ source = "/lunr.js", target = "scripts/thirdparty/lunr.min.js" }]
|
|
|
|
# STYLING
|
|
[[dependencies]]
|
|
repo = "https://git.fsfe.org/fsfe-system-hackers-mirrors/bootstrap"
|
|
rev = "v3.4.1"
|
|
file_sets = [{ source = "/less", target = "look/thirdparty/bootstrap" }]
|
|
|
|
# CGI
|
|
[[dependencies]]
|
|
repo = "https://git.fsfe.org/fsfe-system-hackers-mirrors/PHPMailer"
|
|
rev = "v6.10.0"
|
|
file_sets = [{ source = "/src", target = "cgi-bin/thirdparty/PHPMailer" }]
|
|
|
|
# share-buttons
|
|
# TODO: Copy the images directly from the repo into graphics/services
|
|
[[dependencies]]
|
|
repo = "https://git.fsfe.org/FSFE/share-buttons"
|
|
rev = "1fae257c5a465a53b63f9ea811344ae2ab024783"
|
|
file_sets = [{ source = "share.php", target = "cgi-bin/share.php" }]
|
|
|
|
# Settings for deployment
|
|
[deployment]
|
|
# This files contains relative paths we want to deploy even if they would be blocked by the copy_files method filtering.
|
|
# Special case hard code pass over order items xml required by cgi script
|
|
required_files = ["order/data/items.en.xml", "about/people/people.en.xml"]
|