adding authors file and licence creation
This commit is contained in:
parent
64c901d40d
commit
09d7767a1a
|
@ -0,0 +1 @@
|
||||||
|
Lucas Frérot <lucas.frerot@sorbonne-universite.fr> Sorbonne Université, CNRS, Institut Jean Le Rond d’Alembert, F-75005 Paris, France
|
33
rtenets
33
rtenets
|
@ -157,14 +157,43 @@ create_tenet_file_tree() {
|
||||||
# ${project_name}
|
# ${project_name}
|
||||||
|
|
||||||
${project_desc}
|
${project_desc}
|
||||||
|
|
||||||
|
## Dependencies
|
||||||
|
|
||||||
|
Here are the dependencies to build and run the code:
|
||||||
|
|
||||||
|
- <dependencies_list>
|
||||||
|
|
||||||
|
## Running the code
|
||||||
|
|
||||||
|
Here is how to run the code:
|
||||||
|
|
||||||
|
\`\`\`
|
||||||
|
<make_all_figures>
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
Here is how to run the tests:
|
||||||
|
|
||||||
|
\`\`\`
|
||||||
|
<run_all_tests>
|
||||||
|
\`\`\`
|
||||||
READMEMSG
|
READMEMSG
|
||||||
|
|
||||||
info "wrote '${readme}'"
|
info "wrote '${readme}'"
|
||||||
else
|
fi
|
||||||
warning "found '${readme}', not touching"
|
|
||||||
|
if ! [ -f AUTHORS ]; then
|
||||||
|
printf "%s\\n" "${USER} <${EMAIL}> ${AFFILIATION}" > AUTHORS
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local licence="COPYING"
|
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
|
# Create git repository
|
||||||
|
|
Loading…
Reference in New Issue