File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed
Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import babel from 'rollup-plugin-babel';
33import eslint from 'rollup-plugin-eslint' ;
44import resolve from 'rollup-plugin-node-resolve' ;
55import commonjs from 'rollup-plugin-commonjs' ;
6+ import progress from 'rollup-plugin-progress' ;
67import replace from 'rollup-plugin-replace' ;
78import uglify from 'rollup-plugin-uglify' ;
89import postcss from 'rollup-plugin-postcss' ;
@@ -20,6 +21,9 @@ export default {
2021 ] ,
2122 sourceMap : 'inline' ,
2223 plugins : [
24+ progress ( {
25+ clearLine : true // default: true
26+ } ) ,
2327 postcss ( {
2428 plugins : [
2529 simplevars ( ) ,
Original file line number Diff line number Diff line change 22
33NODEEXE=$( which node)
44BREWTEMPDIR=` mktemp -d /tmp/brewtemp.XXXXXX` || exit 1
5+ TARGET=build/brewable
56echo " Making self in $BREWTEMPDIR "
67
78echo ' ./node brewableserverbundle.js "$@"' > $BREWTEMPDIR /run.sh
89chmod a+x $BREWTEMPDIR /run.sh
910cp $NODEEXE $BREWTEMPDIR
1011cp -p build/js/brewable* $BREWTEMPDIR
11- makeself $BREWTEMPDIR brewable 0.7 ./run.sh
12+ makeself $BREWTEMPDIR $TARGET 0.7 ./run.sh
1213sed -i -e ' s/quiet="n"/quiet="y"/' \
1314 -e ' s/noprogress=n/noprogress=y/' \
14- brewable
15+ $TARGET
1516
16- # rm -rf $BREWTEMPDIR
17+ rm -rf $BREWTEMPDIR
1718
Original file line number Diff line number Diff line change 3131 "rollup-plugin-node-globals" : " ^1.1.0" ,
3232 "rollup-plugin-node-resolve" : " ^3.0.0" ,
3333 "rollup-plugin-postcss" : " ^0.5.4" ,
34+ "rollup-plugin-progress" : " ^0.4.0" ,
3435 "rollup-plugin-replace" : " ^1.1.1" ,
3536 "rollup-plugin-uglify" : " ^2.0.1" ,
3637 "rpio" : " ^0.9.17" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import eslint from 'rollup-plugin-eslint';
44import resolve from 'rollup-plugin-node-resolve' ;
55import commonjs from 'rollup-plugin-commonjs' ;
66import json from 'rollup-plugin-json' ;
7+ import progress from 'rollup-plugin-progress' ;
78import replace from 'rollup-plugin-replace' ;
89import uglify from 'rollup-plugin-uglify' ;
910import { minify } from 'uglify-es' ;
@@ -17,6 +18,9 @@ export default {
1718 banner : '#!/usr/bin/env node' ,
1819 sourceMap : 'inline' ,
1920 plugins : [
21+ progress ( {
22+ clearLine : true // default: true
23+ } ) ,
2024 json ( ) ,
2125 resolve ( {
2226 main : true ,
You can’t perform that action at this time.
0 commit comments