-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
training.sh: Do not send bin and config; Better commit msg
- Loading branch information
1 parent
cf22bdb
commit 348b5b3
Showing
1 changed file
with
3 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,10 +96,11 @@ for step in $step_list; do | |
for state in $state_list; do | ||
echo "Prepare step $step $state…"; | ||
git checkout $local_reference_branch -- $path_list; | ||
eval "$exercise_cleaner $step --$state $path_list"; | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
adriendupuis
Author
Owner
|
||
git reset $exercise_cleaner_bin $exercise_cleaner_config; | ||
step_desc=`eval "$exercise_cleaner $step --$state $path_list" | sed -e "s/Get step \(.*\)…/\1/"`; | ||
git add $path_list; | ||
if [[ -n "$(git status --short;)" ]]; then | ||
git commit --quiet --message "Step $step $state"; | ||
git commit --quiet --message "Step $step_desc"; | ||
echo "Step $step $state ready: Press 'enter' key to push it to training's remote repository…"; | ||
read -r -n 0; | ||
echo "Push step $step $state…\n"; | ||
|
So, this is not displayed anymore.