Skip to content

Commit

Permalink
Remove debug drawing, ci/cd error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
yveszoundi committed Jul 9, 2022
1 parent e97c131 commit 4ae4331
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion ci_cd/macos/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ podman run --rm \
--volume "${PROJECTDIR}":/root/src \
--workdir /root/src \
docker.io/joseluisq/rust-linux-darwin-builder:1.60.0 \
sh -c "export CC=/usr/local/osxcross/target/bin/o64-clang; export CXX=/usr/local/osxcross/target/bin/o64-clang++; cd /root/src/entrusted_client && RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-apple-darwin; cd /root/src/entrusted_webclient && RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-apple-darwin; cd /root/src/entrusted_webserver && RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-apple-darwin"
sh -c "export CC=/usr/local/osxcross/target/bin/o64-clang; export CXX=/usr/local/osxcross/target/bin/o64-clang++; cd /root/src/entrusted_client && RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-apple-darwin && cd /root/src/entrusted_webclient && RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-apple-darwin && cd /root/src/entrusted_webserver && RUSTFLAGS='-C target-feature=+crt-static' cargo build --release --target x86_64-apple-darwin"
retVal=$?
if [ $retVal -ne 0 ]; then
echo "Failure"
Expand Down
5 changes: 0 additions & 5 deletions entrusted_client/src/main_gui.rs
Original file line number Diff line number Diff line change
Expand Up @@ -800,11 +800,6 @@ fn main() -> Result<(), Box<dyn Error>> {
.center_screen()
.with_label(&wind_title);

wind.draw({
move |wid| {
draw::draw_rect_fill(wid.x() + wid.w() - WIDGET_GAP, wid.y(), WIDGET_GAP, WIDGET_GAP, enums::Color::Red);
}
});
wind.set_xclass("entrusted");

if let Ok(frame_icon) = image::PngImage::from_data(ICON_FRAME) {
Expand Down

0 comments on commit 4ae4331

Please sign in to comment.