utrans 0.1.0

A command line utility to convert paths (say realpath, url, etc) and to print/copy them to clipboard
#!/bin/bash
set -x 

# PUshd to the script directory
pushd "$(dirname "$0")" > /dev/null

# Get current arch from rustup 
arch=$(rustup show | grep "Default host" | cut -d ':' -f 2 | tr -d ' ')

cargo build --release --bin ucopy --features copy --target-dir "./target/${arch}"
cargo build --release --bin utrans --target-dir "./target/${arch}"

cargo clean 

mkdir -p "./${arch}" 
cp -r "./target/${arch}/release/ucopy" "./${arch}/."
cp -r "./target/${arch}/release/utrans" "./${arch}/."

popd