Last active
April 3, 2021 13:24
-
-
Save benevolent0505/4ca81277f53138d04b89c1213b62bfa7 to your computer and use it in GitHub Desktop.
Emacs build on macOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
EMACS_REPOSITORY_PATH="Your Emacs Repository Path" | |
cd $EMACS_REPOSITORY_PATH | |
CURRENT_COMMIT_HASH=$(git rev-parse HEAD) | |
git pull | |
if [ $(git rev-parse HEAD) eq $EMACS_REPOSITORY_PATH ] | |
then | |
echo "Nothing update." | |
exit 0 | |
else | |
./autogen.sh | |
./configure --with-xwidgets | |
make | |
make install | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment