mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-29 13:03:37 +01:00
fxsdk: remove the WIP command-line interface
The fxSDK will no longer specify the final values for these parameters, leaving them to the user in CMakeLists.txt or project.cfg, as reasonable defaults are good enough.
This commit is contained in:
parent
42f2b5c175
commit
c9b1db8221
1 changed files with 0 additions and 28 deletions
|
@ -49,10 +49,6 @@ Project update:
|
||||||
EOF
|
EOF
|
||||||
)
|
)
|
||||||
|
|
||||||
# Project creation flags
|
|
||||||
# -n <name>, --name=<name> Project name
|
|
||||||
# -@ <name>, --internal=<name> Internal project name
|
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
echo "$usage_string"
|
echo "$usage_string"
|
||||||
exit ${1:-1}
|
exit ${1:-1}
|
||||||
|
@ -70,30 +66,6 @@ status() {
|
||||||
echo -e "\e[0m\n"
|
echo -e "\e[0m\n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# TODO: Finish this interface
|
|
||||||
fxsdk_new_project_cli() {
|
|
||||||
internal=
|
|
||||||
|
|
||||||
while [[ "$@" ]]; do
|
|
||||||
case "$1" in
|
|
||||||
-h|--help|-\?)
|
|
||||||
usage 0;;
|
|
||||||
|
|
||||||
-@|--internal)
|
|
||||||
[[ -z "$2" ]] && error "$1 requires an argument" && return 1
|
|
||||||
internal="$2"
|
|
||||||
shift;;
|
|
||||||
|
|
||||||
--internal=*)
|
|
||||||
internal="${1#*=}";;
|
|
||||||
esac
|
|
||||||
|
|
||||||
shift
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "internal=$internal"
|
|
||||||
}
|
|
||||||
|
|
||||||
fxsdk_new_project_interactive() {
|
fxsdk_new_project_interactive() {
|
||||||
[[ -z "$1" ]] && error "please specify the project folder" && return 1
|
[[ -z "$1" ]] && error "please specify the project folder" && return 1
|
||||||
[[ -e "$1" ]] && error "'$1' exists, I don't dare touch it" && return 1
|
[[ -e "$1" ]] && error "'$1' exists, I don't dare touch it" && return 1
|
||||||
|
|
Loading…
Reference in a new issue