Skip to content

Commit

Permalink
Disable rustfmt example
Browse files Browse the repository at this point in the history
  • Loading branch information
blaxill committed Feb 10, 2020
1 parent 4cfe51b commit d0aedc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/run_examples
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ source "$SCRIPTS_DIR/common"
# Note that the chat example cannot be run because the client is interactive.
# TODO(#462): Re-enable chat example, even if it may be just loading the server-side code and not
# interact with it.
readonly RUST_EXAMPLES="$(find examples -mindepth 2 -maxdepth 4 -type d -regex '.*/module.*/rust$' | cut -d'/' -f2 | uniq | grep -v chat)"
readonly RUST_EXAMPLES="$(find examples -mindepth 2 -maxdepth 4 -type d -regex '.*/module.*/rust$' | cut -d'/' -f2 | uniq | grep -v chat | grep -v rustfmt)"

for example in ${RUST_EXAMPLES}; do
./bazel-bin/oak/server/asylo/oak &
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_examples_dev
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SERVER_PID=$!
# Note that the chat example cannot be run because the client is interactive.
# TODO(#462): Re-enable chat example, even if it may be just loading the server-side code and not
# interact with it.
readonly RUST_EXAMPLES="$(find examples -mindepth 2 -maxdepth 4 -type d -regex '.*/module.*/rust$' | cut -d'/' -f2 | uniq | grep -v chat)"
readonly RUST_EXAMPLES="$(find examples -mindepth 2 -maxdepth 4 -type d -regex '.*/module.*/rust$' | cut -d'/' -f2 | uniq | grep -v chat | grep -v rustfmt)"
for example in ${RUST_EXAMPLES}; do
"${SCRIPTS_DIR}/run_example" "${example}"
done
Expand Down

0 comments on commit d0aedc1

Please sign in to comment.