9 lines
152 B
Bash
9 lines
152 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [ "${1}" != "" ]; then
|
||
|
padded=$(printf "%02g" ${1})
|
||
|
cd ${padded}
|
||
|
rustc main.rs && ./main && rm main
|
||
|
cd - > /dev/null
|
||
|
fi
|