Skip to content

Commit

Permalink
added emoji to the script
Browse files Browse the repository at this point in the history
  • Loading branch information
vinodsr committed May 9, 2020
1 parent aa55294 commit d5407f3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions build/build-deb.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
#!/bin/bash
BASEDIR=$(dirname $0)
echo "cleanup : $BASEDIR/../out"
echo -e "\U1F9F9 : $(realpath $BASEDIR/../out)"
rm $BASEDIR/../out/*
echo "build:go"
echo -e "\U1F527 : go build"
go build -o $BASEDIR/../out/shell-butler $BASEDIR/../main.go
echo "cp: binary"
echo -e "\U1F69A : moving binary to deb"
#mkdir -p $BASEDIR/../package/debian/shell-butler/usr/local/bin
mkdir -p $BASEDIR/../package/debian/shell-butler/opt/shell-butler/bin
cp $BASEDIR/../run $BASEDIR/../package/debian/shell-butler/opt/shell-butler/bin/shell-butler-run
cp $BASEDIR/../out/shell-butler $BASEDIR/../package/debian/shell-butler/opt/shell-butler/bin
echo "run: dpkg-deb"
echo -e "\U1F3C3 : running dpkg-deb"
dpkg-deb --build $BASEDIR/../package/debian/shell-butler $BASEDIR/../out/shell-butler.deb
echo "done"
echo -e "\U1F4E6 : package available in out directory"
echo -e "\U1F603 : done"

0 comments on commit d5407f3

Please sign in to comment.