mirror of
https://github.com/overleaf/toolkit.git
synced 2025-04-19 15:28:06 +02:00
18 lines
361 B
Bash
Executable file
18 lines
361 B
Bash
Executable file
#! /usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
function set_up_config_files() {
|
|
echo "Copying config files"
|
|
cp ./examples/*.yml ./config/
|
|
cp ./examples/overleaf.rc ./config/
|
|
cp ./examples/variables.env ./config/
|
|
}
|
|
|
|
function __main__() {
|
|
# TODO:
|
|
# - check if the user wants to overwrite existing config
|
|
set_up_config_files
|
|
}
|
|
|
|
__main__ "$@"
|