runtimes get names
parent
779069a810
commit
11c2adb01f
|
@ -13,7 +13,7 @@ r3_completions() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${#COMP_WORDS[@]}" == "3" && ( "${COMP_WORDS[1]}" == "update-templates" || "${COMP_WORDS[1]}" == "update-options" || "${COMP_WORDS[1]}" == "update-methods" ) ]]; then
|
if [[ "${#COMP_WORDS[@]}" == "3" && ( "${COMP_WORDS[1]}" == "update-templates" || "${COMP_WORDS[1]}" == "update-options" || "${COMP_WORDS[1]}" == "update-methods" ) ]]; then
|
||||||
COMPREPLY=($(compgen -W "$(grep "r3 create" "${R3_V2_FOLDER}.r3_history" | sed "s/^.*r3 /r3 /" | sed "s/\s+/ /g" | sort --unique | cut -d' ' -f3 | sed 's/\([A-Z]\)/-\1/g' | awk '{print tolower($0)}' | sed "s/^/r3/" | sed "s/$/.js/" | perl -pe "s/\n/ /")" "${COMP_WORDS[2]}"))
|
COMPREPLY=($(compgen -W "$(grep "r3 create" "${R3_V2_FOLDER}.r3_history" | sed "s/^.*r3 /r3 /" | sed "s/\s+/ /g" | sort --unique | cut -d' ' -f3 | sed 's/\([A-Z]\)/-\1/g' | awk '{print tolower($0)}' | sed "s/^/r3/" | sed "s/^r3\-r3/r3/" | sed "s/$/.js/" | perl -pe "s/\n/ /")" "${COMP_WORDS[2]}"))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${#COMP_WORDS[@]}" == "3" && ( "${COMP_WORDS[1]}" == "create" ) ]]; then
|
if [[ "${#COMP_WORDS[@]}" == "3" && ( "${COMP_WORDS[1]}" == "create" ) ]]; then
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Subproject commit 40e85bf6d4c9e8872de9a0445e43d8b0bb646e30
|
Subproject commit 7ee2b9f5eadba3189df4d4714009a9b2530e4435
|
4
r3.sh
4
r3.sh
|
@ -166,6 +166,10 @@ then
|
||||||
perl -p -i -e 's/^const Event.*\n$//' "${R3_FOLDER}${FILE_NAME}"
|
perl -p -i -e 's/^const Event.*\n$//' "${R3_FOLDER}${FILE_NAME}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ "${EXTEND_CLASS}" = "Component" ]; then
|
||||||
|
perl -p -i -e 's/^const EXTEND_CLASS.*\n$//' "${R3_FOLDER}${FILE_NAME}"
|
||||||
|
fi
|
||||||
|
|
||||||
if [ "${EXTEND_CLASS}" = "Utils" ]; then
|
if [ "${EXTEND_CLASS}" = "Utils" ]; then
|
||||||
perl -p -i -e 's/^const Utils.*\n$//' "${R3_FOLDER}${FILE_NAME}"
|
perl -p -i -e 's/^const Utils.*\n$//' "${R3_FOLDER}${FILE_NAME}"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue