File: add-from-cargo-check.sh

package info (click to toggle)
rust-swc-core 35.0.0~ds-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 62,816 kB
  • sloc: javascript: 873; xml: 538; sh: 358; makefile: 35; python: 5
file content (6 lines) | stat: -rwxr-xr-x 184 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
#!/usr/bin/env bash
set -eu

export CARGO_TERM_COLOR=never

cargo check 2>&1 | grep 'no rules expected the token' | sed -e 's/error: no rules expected the token `"//' | sed -e 's/"`//'