Skip to content

Commit

Permalink
verbose mode for compiling project
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Ángel Díaz authored and Miguel Ángel Díaz committed Apr 16, 2019
1 parent a83ff7f commit 90f09f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/nefc
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ compile() {
# - Parameter `folder`: path to the project folder.
##
buildProject() {
set -e

cd "$1" # parameter `folder`
local logPath="nef/log"

Expand All @@ -112,7 +114,8 @@ buildProject() {
echo ""
else
echo ""
echo "${bold}${red}error: ${reset}${bold}building $workspaceName${normal} review '$log' for more information."
echo "${bold}${red}error: ${reset}${bold}building $workspaceName${normal}"
cat "$log"
exit 1
fi
done
Expand Down

0 comments on commit 90f09f9

Please sign in to comment.