Skip to content

Instantly share code, notes, and snippets.

View Enselic's full-sized avatar

Martin Nordholts Enselic

View GitHub Profile
@Enselic
Enselic / gist:4bbe02584cc405c98592df0938dfd187
Last active January 3, 2022 10:32
bat and syntect ci emulation commands
echo bat ci && cargo fmt -- --check && cargo doc --locked --no-deps --document-private-items --all-features && cargo clippy --all-targets --all-features && cargo check --no-default-features --features minimal-application && cargo test --doc && cargo test && PATH="./target/debug:$PATH" tests/syntax-tests/test_custom_assets.sh && echo ci pass
echo syntax bat ci && cargo build --no-default-features --features minimal-application,build-assets && PATH="./target/debug:$PATH" assets/create.sh && cargo build --release --no-default-features --features minimal-application && PATH="./target/release:$PATH" tests/syntax-tests/regression_test.sh
echo syntect ci && cargo clippy --all-targets --all-features && RUSTDOCFLAGS='--deny warnings' cargo doc --no-deps --document-private-items --all-features && cargo run --example synhtml --no-default-features --features html,assets,dump-load,dump-create,regex-onig -- examples/synhtml.rs && cargo test --all-targets --all-features && cargo test --doc && echo yes
setContentView(R.layout.content_main)
findViewById<View>(R.id.shouldBeExcludedFromWrapContent)
.animate()
.setStartDelay(1_000L)
.rotationBy(5 * 360f)
.translationXBy(1800f)
.translationYBy(1800f)
.setDuration(5_000L)
.start()