Skip to content

Commit

Permalink
Don't call reset -I because github actions can't handle it.
Browse files Browse the repository at this point in the history
We don't need to anymore because scons stdout is redirected anyways.
  • Loading branch information
jamie-pate committed Oct 26, 2021
1 parent 6afd3e5 commit 1af344e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -187,10 +187,9 @@ include $(GODOT_CPP_API_MK)
API_CLASSES+= $(__GODOT_CPP_GEN_CLASSES)
GODOT_CPP_GEN_CPP=$(API_CLASSES:%=godot-cpp/src/gen/%.cpp)
GODOT_CPP_GEN_OBJS=$(API_CLASSES:%=godot-cpp/src/gen/%.o)
# reset -I fixes the terminal which gets bunged up by this step...
$(GODOT_CPP_GEN_CPP) $(GODOT_CPP_OBJS) $(GODOT_CPP_GEN_DIR)&: $(GODOT_CPP_API_JSON)
cd godot-cpp; set -e; \
scons generate_bindings=yes platform=$(PLATFORM) use_mingw=yes -j$$(nproc) > /dev/null && reset -I || (echo 'SCONS FAIL'; reset -I ; false)
scons generate_bindings=yes platform=$(PLATFORM) use_mingw=yes -j$$(nproc) > /dev/null

### Compile Rules

Expand Down

0 comments on commit 1af344e

Please sign in to comment.