File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -187,15 +187,12 @@ RUN \
187
187
gh_f_repo_name=${gh_repo_name} && \
188
188
h=$(git rev-parse HEAD) && \
189
189
echo "Debug: Head h: $h" && \
190
- br=$(git rev-parse --abbrev-ref HEAD) && \
191
- echo "Debug: Branch br: $br" && \
192
190
# FIXME: if `$h` is not pushed upstream this fails. We should just diagnose and move on.
193
- # git show-ref --head && echo $? && \
194
- # git show-ref --head | grep "$h" && echo $? && \
195
- # git show-ref --head | grep "$h" | grep -E "remotes|tags" && echo $? && \
196
- # git show-ref --head | grep "$h" | grep -E "remotes|tags" | grep -o '[^/ ]*$' && echo $? && \
197
- # arr1=$(git show-ref --head | grep "$h" | grep -E "remotes|tags" | grep -o '[^/ ]*$') && echo $? && \
198
- arr1=$br && \
191
+ git show-ref --head && echo $? && \
192
+ git show-ref --head | grep "$h" && echo $? && \
193
+ git show-ref --head | grep "$h" | grep -E "remotes|tags" && echo $? && \
194
+ git show-ref --head | grep "$h" | grep -E "remotes|tags" | grep -o '[^/ ]*$' && echo $? && \
195
+ arr1=$(git show-ref --head | grep "$h" | grep -E "remotes|tags" | grep -o '[^/ ]*$' ) && echo $? && \
199
196
gh_repo_branch="${arr1[*]//\| }" && \
200
197
gh_repo_branch_regex=" ${gh_repo_branch//$'\n '/ | } " && \
201
198
gh_repo_branch_regex=$(echo "$gh_repo_branch_regex" | sed -e 's/[]\/ $*.^[]/\\\\ &/g' ) && \
Original file line number Diff line number Diff line change @@ -46,7 +46,12 @@ void* createInterpreter(const Args &ExtraArgs = {}) {
46
46
}
47
47
48
48
namespace xcpp {
49
- void interpreter::configure_impl () {}
49
+
50
+ void interpreter::configure_impl ()
51
+ {
52
+ xeus::register_interpreter (this );
53
+ }
54
+
50
55
51
56
interpreter::interpreter (int argc, const char *const *argv)
52
57
: // m_input_validator(),
You can’t perform that action at this time.
0 commit comments