-
-
Notifications
You must be signed in to change notification settings - Fork 19.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π§βπ» Fix and improve build_all_examples
- Loading branch information
1 parent
929ce5e
commit 8e6aa1b
Showing
10 changed files
with
91 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/usr/bin/env bash | ||
# | ||
# mfutil - check env and define helpers | ||
# | ||
|
||
# Check dependencies | ||
which curl 1>/dev/null 2>&1 || { echo "curl not found! Please install it."; exit ; } | ||
which git 1>/dev/null 2>&1 || { echo "git not found! Please install it."; exit ; } | ||
|
||
SED=$(command -v gsed 2>/dev/null || command -v sed 2>/dev/null) | ||
[[ -z "$SED" ]] && { echo "No sed found, please install sed" ; exit 1 ; } | ||
|
||
OPEN=$( which gnome-open xdg-open open | head -n1 ) | ||
|
||
SELF=`basename "$0"` | ||
HERE=`dirname "$0"` | ||
|
||
# Check if called in the right location | ||
[[ -e "Marlin/src" ]] || { echo -e "This script must be called from a Marlin working copy with:\n ./buildroot/bin/$SELF $1" ; exit ; } | ||
|
||
perror() { echo -e "$0: \033[0;31m$1 -- $2\033[0m" ; } | ||
bugout() { ((DEBUG)) && echo -e "\033[0;32m$1\033[0m" ; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ DRYRUN=0 | |
TAG1=$1 | ||
TAG2=${2:-"HEAD"} | ||
|
||
DEST=2.1.x | ||
DEST=2.0.x | ||
|
||
# Validate that the required tags exist | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters