Skip to content

Instantly share code, notes, and snippets.

@EduardoRodriguesF
Last active November 17, 2022 22:17
Show Gist options
  • Save EduardoRodriguesF/09518221e37614319a32c4285cbde40b to your computer and use it in GitHub Desktop.
Save EduardoRodriguesF/09518221e37614319a32c4285cbde40b to your computer and use it in GitHub Desktop.
#!/bin/bash
directory_name=${PWD##*/}
tmp_path="/mnt/c/Windows/temp/$directory_name"
mkdir -p $tmp_path
rsync . $tmp_path -r --exclude-from=.gitignore
cd $tmp_path
powershell.exe -Command "cargo run $@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment