]> git.donarmstrong.com Git - qmk_firmware.git/commit
A better new_project.sh (#5191)
authorfauxpark <fauxpark@gmail.com>
Sat, 27 Apr 2019 23:42:16 +0000 (09:42 +1000)
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>
Sat, 27 Apr 2019 23:42:16 +0000 (16:42 -0700)
commit53c51f1d16b40fdd3e68a6afc5844917d3d58640
treeb17a8b084e538b66a6ccb4893e9c7fa75217c519
parentc3be0520c4c6d4799670ab3639a3de561b4c6c1d
A better new_project.sh (#5191)

* A better new_project.sh

* Fix docstrings

* Use single quotes for anything not shown to user

* Missed this docstring

* Simplify get_git_username()

Thanks @vomindoraan

* chmod +x

* Add docstring for print_error()

* Break up git username call into multiple lines

* Use with statement here

* Conform to PEP 8 even more

* Turn it back into a shell script

* chmod +x again

* Update docs to reflect new keyboard generator usage

* Tweak wording slightly

* Trim trailing whitespace

* Don't actually need to escape the newlines here

* As I suspected, you can pass shift a number

* Prepend ./ to match the other code block

* Minor syntax tweaks

* The username token has changed

* Replace name in the readme too

* Make some reasonable assumptions about the presence of Git
docs/hand_wire.md
docs/hardware_avr.md
docs/porting_your_keyboard_to_qmk_(arm_and_other_chibios_cpus).md
util/new_keyboard.sh [new file with mode: 0755]
util/new_project.sh [deleted file]