nodejs-nodemon/nodemon-tarball.sh

8 lines
295 B
Bash
Raw Normal View History

2020-05-13 09:22:16 +00:00
#!/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