From 09d7767a1a13c72dd5ae22f29c1089382b640f4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Fr=C3=A9rot?= Date: Fri, 27 Dec 2024 18:41:18 +0100 Subject: [PATCH] adding authors file and licence creation --- AUTHORS | 1 + rtenets | 33 +++++++++++++++++++++++++++++++-- 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 AUTHORS diff --git a/AUTHORS b/AUTHORS new file mode 100644 index 0000000..82a2ec1 --- /dev/null +++ b/AUTHORS @@ -0,0 +1 @@ +Lucas Frérot Sorbonne Université, CNRS, Institut Jean Le Rond d’Alembert, F-75005 Paris, France diff --git a/rtenets b/rtenets index 7272549..8005fdf 100755 --- a/rtenets +++ b/rtenets @@ -157,14 +157,43 @@ create_tenet_file_tree() { # ${project_name} ${project_desc} + +## Dependencies + +Here are the dependencies to build and run the code: + +- + +## Running the code + +Here is how to run the code: + +\`\`\` + +\`\`\` + +## Tests + +Here is how to run the tests: + +\`\`\` + +\`\`\` READMEMSG info "wrote '${readme}'" - else - warning "found '${readme}', not touching" + fi + + if ! [ -f AUTHORS ]; then + printf "%s\\n" "${USER} <${EMAIL}> ${AFFILIATION}" > AUTHORS fi local licence="COPYING" + + if ! [ -f "${licence}" ]; then + info "setting licence to GPL by default, see https://www.gnu.org/licenses for more options" + curl "https://www.gnu.org/licenses/gpl-3.0.txt" > "${licence}" + fi } # Create git repository