[FL-1171] Remove core-rs (#429)

* core-rs: remove core-rs
* docker: remove rust syntax check

Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
gornekich
2021-04-27 19:07:34 +03:00
committed by GitHub
parent b28863ae04
commit 3c990e2f50
14 changed files with 1 additions and 1022 deletions

View File

@@ -22,19 +22,13 @@ $CLANG_FORMAT_BIN --version
$CLANG_FORMAT_BIN --verbose -style=file -n --Werror --ferror-limit=0 $C_FILES
c_syntax_rc=$?
echo "RUN RUST SYNTAX CHECK"
cd $PROJECT_DIR/core-rs && cargo fmt -- --check
rust_syntax_rc=$?
if [[ $rust_syntax_rc -eq 0 ]] && [[ $c_syntax_rc -eq 0 ]]; then
if [[ $c_syntax_rc -eq 0 ]]; then
echo "Code looks fine for me!"
exit 0
fi
read -p "Do you want fix syntax? (y/n): " confirm && [[ $confirm == [yY] || $confirm == [yY][eE][sS] ]] || exit 1
cd $PROJECT_DIR/core-rs && cargo fmt --
cd $PROJECT_DIR
# We use root in container and clang-format rewriting files. We'll need change owner to original