My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678910111213141516171819
  1. #!/usr/bin/env bash
  2. #
  3. # mfqp
  4. #
  5. # Add all changed files, commit as "patch", do `mfrb` and `git push -f`
  6. #
  7. MFINFO=$(mfinfo) || exit
  8. IFS=' ' read -a INFO <<< "$MFINFO"
  9. case "$#" in
  10. 0 ) ;;
  11. * ) echo "Usage: `basename $0`" 1>&2 ; exit 1 ;;
  12. esac
  13. git add * .travis.yml
  14. git commit -m "patch"
  15. mfrb
  16. git push -f