File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# build package and push it to pypi
2+ SECONDS=0
3+ # declare initial seconds
24clear
35cd ..
46echo " piencrypt: -----> Starting Pie Test.." ;
@@ -17,7 +19,11 @@ echo "piencrypt: -----> Build successfull"
1719echo -en ' \n' ;
1820twine upload dist/* ;
1921echo -en ' \n' ;
20- echo ' ---------------------------------------------'
22+ echo " .." ;
23+ echo ' ----------------------------------------------------------------------' ;
2124echo " piencrypt: -----> Upload Successfull" ;
2225echo -en ' \n' ;
26+ # get elapsed time
27+ duration=$SECONDS
28+ echo " $(( $duration / 60 )) minutes and $(( $duration % 60 )) seconds elapsed."
2329# cat build.sh
Original file line number Diff line number Diff line change 1+ SECONDS=0
2+ # declare initial seconds
13clear
24cd ..
35echo " piencrypt: -----> Starting Pie Test.." ;
@@ -18,6 +20,10 @@ echo "piencrypt: -----> Commit completed";
1820echo -en ' \n' ;
1921git push origin master;
2022echo -en ' \n' ;
21- echo ' ---------------------------------------------'
23+ echo " .." ;
24+ echo ' ----------------------------------------------------------------------' ;
2225echo " piencrypt: -----> Push Successfull" ;
2326echo -en ' \n' ;
27+ # get elapsed time
28+ duration=$SECONDS
29+ echo " $(( $duration / 60 )) minutes and $(( $duration % 60 )) seconds elapsed."
Original file line number Diff line number Diff line change 1+ SECONDS=0
2+ # declare initial seconds
13clear
24cd ..
35echo " piencrypt: -----> Starting Pie Test.." ;
@@ -19,7 +21,11 @@ echo "piencrypt: -----> Commit completed";
1921echo -en ' \n' ;
2022git push heroku master;
2123echo -en ' \n' ;
22- echo ' ---------------------------------------------'
24+ echo " .." ;
25+ echo ' ----------------------------------------------------------------------' ;
2326echo " piencrypt: -----> Deployment Successfull" ;
2427echo -en ' \n' ;
28+ # get elapsed time
29+ duration=$SECONDS
30+ echo " $(( $duration / 60 )) minutes and $(( $duration % 60 )) seconds elapsed."
2531cd ..
Original file line number Diff line number Diff line change 1+ SECONDS=0
2+ # do some work
3+ duration=$SECONDS
4+ echo " $(( $duration / 60 )) minutes and $(( $duration % 60 )) seconds elapsed."
You can’t perform that action at this time.
0 commit comments