nodejs-nodemon/nodemon-tarball.sh
Petr Šabata c4444ad186 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/nodejs-nodemon#b6a5b5f257123057671490722bc1bae9d1258546
2020-10-15 21:13:00 +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