[go: up one dir, main page]

copypasta 0.6.3

copypasta is a cross-platform library for getting and setting the contents of the OS-level clipboard.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# Run clippy checks
if [ "$CLIPPY" == "true" ]; then
    cargo clippy --all-targets
    exit
fi

# Run clippy rustfmt
if [ "$RUSTFMT" == "true" ]; then
    cargo fmt -- --check
    exit
fi

# Run tests
cargo test