GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(bower/publish): run local precommit script if available · gifflen/angular.js@958bc1a

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • scripts/bower
    • publish.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/bower/publish.sh‎

Copy file name to clipboardExpand all lines: scripts/bower/publish.sh
+15Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,21 @@ function prepare {
6363
cp $BUILD_DIR/angular-csp.css $TMP_DIR/bower-angular
6464

6565

66+
#
67+
# Run local precommit script if there is one
68+
#
69+
for repo in "${REPOS[@]}"
70+
do
71+
if [ -f $TMP_DIR/bower-$repo/precommit.sh ]
72+
then
73+
echo "-- Running precommit.sh script for bower-$repo"
74+
cd $TMP_DIR/bower-$repo
75+
$TMP_DIR/bower-$repo/precommit.sh
76+
cd $SCRIPT_DIR
77+
fi
78+
done
79+
80+
6681
#
6782
# update bower.json
6883
# tag each repo

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.