css-in-rust 0.1.2

CSSinRust is a package for use with WASM applications providing a component level CSS styling experience.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash

echo "$(rustup default)" | grep -q "stable"
if [ "$?" != "0" ]; then
  # only run checks on stable
  exit 0
fi

DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
. "$DIR/features.sh"

set -euxo pipefail
cargo fmt --all -- --check
cargo clippy --features "std_web,$NON_CONFLICTING_FEATURES" -- --deny=warnings
cargo clippy --features "web_sys,$NON_CONFLICTING_FEATURES" -- --deny=warnings