git.schokokeks.org
Repositories
Help
Report an Issue
fs-words.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
e9e3770
Branches
Tags
develop-client_server
master
typescript
fs-words.git
client
tools
build
[add] client:tools:clear [add] client:tools:update-plankton
Christian Fraß
commited
e9e3770
at 2021-03-12 22:00:54
build
Blame
History
Raw
#!/usr/bin/env bash ## const dir_conf="conf" dir_build="build" ## args if [ $# -ge 1 ] ; then profile=$1 && shift ; else profile="-" ; fi ## exec ### compiling echo ">> building …" 1>&2 make --file=tools/makefile ### placing conf if [ ${profile} = "" ] then echo ">> no profile specified; won't place conf" 1>&2 else echo ">> placing conf for profile '${profile}' …" 1>&2 cp ${dir_conf}/${profile}.json ${dir_build}/conf.json fi