Skip to content

Commit 4c9085e

Browse files
committed
Install cask.
1 parent e54ff92 commit 4c9085e

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

scripts/deploy.sh

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ sudo apt-get update
2929

3030
sudo apt-get install -y libncurses-dev libxpm-dev libxaw7-dev \
3131
libtiff4-dev libpng-dev libgif-dev autoconf \
32-
automake texinfo make
32+
automake texinfo make git
3333

3434
# Build Emacs.
3535

@@ -52,3 +52,25 @@ do
5252
make install
5353
rm $PREFIX/bin/emacs
5454
done
55+
56+
# Install cask.
57+
58+
CASK_DIR=$HOME/.cask
59+
60+
if [ -d $CASK_DIR ]
61+
then
62+
cd $CASK_DIR
63+
git pull
64+
else
65+
git clone https://github.com/cask/cask $CASK_DIR
66+
fi
67+
68+
cd $PROJECT_ROOT
69+
70+
export PATH=$PATH:$HOME/.cask/bin:$EMACS_DIR/emacs-24.3/bin:$EMACS_DIR/emacs-24.4/bin:$EMACS_DIR/emacs-24.5/bin
71+
72+
for VERSION in ${EMACS_VERSIONS[@]}
73+
do
74+
EMACS=$VERSION cask install
75+
EMACS=$VERSION cask update
76+
done

0 commit comments

Comments
 (0)