1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 23:38:06 +02:00
overleaf-toolkit/bin/init

19 lines
361 B
Text
Raw Permalink Normal View History

2020-06-04 16:15:57 +01:00
#! /usr/bin/env bash
set -euo pipefail
function set_up_config_files() {
2020-06-05 10:28:08 +01:00
echo "Copying config files"
2020-06-12 09:05:42 +01:00
cp ./examples/*.yml ./config/
cp ./examples/overleaf.rc ./config/
cp ./examples/variables.env ./config/
2020-06-04 16:15:57 +01:00
}
function __main__() {
# TODO:
# - check if the user wants to overwrite existing config
2020-06-04 16:15:57 +01:00
set_up_config_files
}
__main__ "$@"