Skip to content

Commit 62c8820

Browse files
committed
bootstrap-tarballs: Document code that installs dependencies
I feel like the installation of dependencies does not belong here. Maybe they should go in to the install-dependencies script? Ticket: ENT-12600 Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
1 parent 6704791 commit 62c8820

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build-scripts/bootstrap-tarballs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ sha256sum *.tar.gz > sha256sums.txt
8585
CKSUM=`sum sha256sums.txt | cut -d ' ' -f 1`
8686
mv sha256sums.txt sha256sums.$CKSUM.txt
8787

88+
# Install javascript dependencies
8889
(
8990
if test -f "$BASEDIR/mission-portal/public/scripts/package.json"; then
9091
cd $BASEDIR/mission-portal/public/scripts
@@ -101,6 +102,7 @@ if test -f "$BASEDIR/mission-portal/public/scripts/package.json"; then
101102
fi
102103
)
103104

105+
# Install PHP dependencies from the mission-portal repository
104106
(
105107
if test -f "$BASEDIR/mission-portal/composer.json"; then
106108
cd $BASEDIR/mission-portal
@@ -109,6 +111,7 @@ if test -f "$BASEDIR/mission-portal/composer.json"; then
109111
fi
110112
)
111113

114+
# Install PHP dependencies from the nova repository
112115
(
113116
if test -f "$BASEDIR/nova/api/http/composer.json"; then
114117
cd $BASEDIR/nova/api/http
@@ -117,13 +120,15 @@ if test -f "$BASEDIR/nova/api/http/composer.json"; then
117120
fi
118121
)
119122

123+
# Compile Mission Portal styles
120124
(
121125
if test -f "$BASEDIR/mission-portal/public/themes/default/bootstrap/cfengine_theme.less"; then
122126
cd $BASEDIR/mission-portal/public/themes/default/bootstrap
123127
npx -p less lessc --compress ./cfengine_theme.less ./compiled/css/cfengine.less.css
124128
fi
125129
)
126130

131+
# Install LDAP API dependencies
127132
(
128133
if test -f "$BASEDIR/mission-portal/ldap/composer.json"; then
129134
cd $BASEDIR/mission-portal/ldap

0 commit comments

Comments
 (0)