File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 11[package ]
22name = " joystick-mapper-among-us"
3- version = " 0.2 .0"
3+ version = " 0.3 .0"
44authors = [
" Federico Rampazzo <[email protected] >" ]
55edition = " 2018"
66
Original file line number Diff line number Diff line change 11[package ]
22name = " joystick-mapper-lib"
3- version = " 0.2 .0"
3+ version = " 0.3 .0"
44authors = [
" Federico Rampazzo <[email protected] >" ]
55edition = " 2018"
66
Original file line number Diff line number Diff line change 11[package ]
22name = " joystick-mapper"
3- version = " 0.2 .0"
3+ version = " 0.3 .0"
44authors = [
" Federico Rampazzo <[email protected] >" ]
55edition = " 2018"
66
Original file line number Diff line number Diff line change 22echo -e " \n[profile.release]\nopt-level = 0" >> Cargo.toml
33cargo build --release
44git checkout Cargo.toml
5- rm joystick-mapper* .zip
6- mkdir build
5+ rm -rf joystick-mapper* .zip
6+ mkdir -p build
77cp target/release/joystick-mapper build
88cp examples/sample.conf build/joystick-mapper.conf
99echo " Source code and instructions here: https://github.com/framp/joystick-mapper" > build/README.txt
1010cd build
11- zip joystick-mapper-mac-$1 .zip build/ *
11+ zip joystick-mapper-mac-$1 .zip *
1212cd ..
1313mv build/* .zip .
1414rm build/joystick-mapper
1515cp target/release/joystick-mapper-among-us build
1616cp examples/among-us.conf build/joystick-mapper.conf
1717cd build
18- zip joystick-mapper-among-us-mac-$1 .zip build/ *
18+ zip joystick-mapper-among-us-mac-$1 .zip *
1919cd ..
2020mv build/* .zip .
2121rm -rf build
You can’t perform that action at this time.
0 commit comments