update install\_software.sh script to include npm build command before installing opencommit package
This commit updates the install\_software.sh script by adding the "npm run build" command before installing the opencommit package using "sudo npm install". This change is intended to ensure that the OpenCommit package is built locally before installation, which may improve the stability and performance of the installed software.
This commit is contained in:
parent
d46662d787
commit
1af834ec74
|
@ -33,6 +33,7 @@ if ! command -v opencommit &> /dev/null
|
||||||
then
|
then
|
||||||
git clone --depth 1 https://git.digitalstudium.com/digitalstudium/opencommit.git
|
git clone --depth 1 https://git.digitalstudium.com/digitalstudium/opencommit.git
|
||||||
cd opencommit
|
cd opencommit
|
||||||
|
npm run build
|
||||||
npm pack
|
npm pack
|
||||||
sudo npm install -g opencommit-3.0.11.tgz
|
sudo npm install -g opencommit-3.0.11.tgz
|
||||||
cd -
|
cd -
|
||||||
|
|
Loading…
Reference in New Issue