Skip to content

Commit

Permalink
Prep for 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cwilling committed Aug 25, 2017
1 parent 557ba5e commit 5d5be1d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ TEST_FILES = test-status.js \

DESTDIR ?=

PKGVERSION ?= 0.3
PKGVERSION ?= 0.3.1

# Where any app files are installed
RUNDIR = /usr/share/brewable
Expand Down Expand Up @@ -81,12 +81,13 @@ uninstall:
rm $(DESTDIR)/etc/init.d/brewable
rm $(DESTDIR)/usr/bin/brewable

pkg: brewable default.conf rcbrewable
pkg: brewable default.conf postinst rcbrewable
rm -rf brewable-$(PKGVERSION); mkdir -p brewable-$(PKGVERSION);
install -m 0755 brewable brewable-$(PKGVERSION)
install -m 0755 default.conf brewable-$(PKGVERSION)
install -m 0755 rcbrewable brewable-$(PKGVERSION)
install -m 0755 Makefile brewable-$(PKGVERSION)
install -m 0755 postinst brewable-$(PKGVERSION)
tar cvf brewable-$(PKGVERSION)-armv61-1.tar.gz brewable-$(PKGVERSION)


Expand All @@ -96,4 +97,4 @@ clean:
distclean: clean
rm -rf node_modules brewable client server

.PHONY:
.PHONY: postinst
3 changes: 2 additions & 1 deletion makeself.make
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
NODEEXE=$(which node)
BREWTEMPDIR=`mktemp -d /tmp/brewtemp.XXXXXX` || exit 1
TARGET=$(pwd)/brewable
VERSION=0.3.1

echo './node brewableserverbundle.js "$@"' > $BREWTEMPDIR/run.sh
chmod a+x $BREWTEMPDIR/run.sh
cp $NODEEXE $BREWTEMPDIR
cp -p build/js/brewable*.js $BREWTEMPDIR
makeself --noprogress --nox11 $BREWTEMPDIR $TARGET 0.3 ./run.sh
makeself --noprogress --nox11 $BREWTEMPDIR $TARGET $VERSION ./run.sh
sed -i -e 's/quiet="n"/quiet="y"/' \
$TARGET

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"clean": "rm -r build/*"
},
"name": "brewable",
"version": "0.3.0",
"version": "0.3.1",
"description": "Nodejs version of brewable",
"main": "src/scripts/brewable.js",
"devDependencies": {
Expand Down

0 comments on commit 5d5be1d

Please sign in to comment.