nodejs-nodemon/nodemon-tarball.sh
Zuzana Svetlikova f64faa75b7 Resolves RHBZ#1815402, add nodemon for image
Resolves: RHBZ#1953991
2022-06-08 12:39:41 +02:00

8 lines
295 B
Bash

#!/bin/sh
version=$(rpm -q --specfile --qf='%{version}\n' nodejs-nodemon.spec | head -n1)
wget https://github.com/remy/nodemon/archive/v$version.tar.gz
tar -zxf v$version.tar.gz
cd nodemon-$version
npm install --production && cd .. && tar -zcf nodemon-v$version-bundled.tar.gz nodemon-$version