Skip to content

Commit 7c2f168

Browse files
committed
touchups
1 parent 54bee93 commit 7c2f168

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

client.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import babel from 'rollup-plugin-babel';
33
import eslint from 'rollup-plugin-eslint';
44
import resolve from 'rollup-plugin-node-resolve';
55
import commonjs from 'rollup-plugin-commonjs';
6+
import progress from 'rollup-plugin-progress';
67
import replace from 'rollup-plugin-replace';
78
import uglify from 'rollup-plugin-uglify';
89
import 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(),

makeself.make

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,17 @@
22

33
NODEEXE=$(which node)
44
BREWTEMPDIR=`mktemp -d /tmp/brewtemp.XXXXXX` || exit 1
5+
TARGET=build/brewable
56
echo "Making self in $BREWTEMPDIR"
67

78
echo './node brewableserverbundle.js "$@"' > $BREWTEMPDIR/run.sh
89
chmod a+x $BREWTEMPDIR/run.sh
910
cp $NODEEXE $BREWTEMPDIR
1011
cp -p build/js/brewable* $BREWTEMPDIR
11-
makeself $BREWTEMPDIR brewable 0.7 ./run.sh
12+
makeself $BREWTEMPDIR $TARGET 0.7 ./run.sh
1213
sed -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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
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",

server.config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import eslint from 'rollup-plugin-eslint';
44
import resolve from 'rollup-plugin-node-resolve';
55
import commonjs from 'rollup-plugin-commonjs';
66
import json from 'rollup-plugin-json';
7+
import progress from 'rollup-plugin-progress';
78
import replace from 'rollup-plugin-replace';
89
import uglify from 'rollup-plugin-uglify';
910
import { 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,

0 commit comments

Comments
 (0)