Skip to content

Instantly share code, notes, and snippets.

@aa6my
Created July 1, 2017 08:57
Show Gist options
  • Save aa6my/07edb8cff9a6aae976ab35e275d23eec to your computer and use it in GitHub Desktop.
Save aa6my/07edb8cff9a6aae976ab35e275d23eec to your computer and use it in GitHub Desktop.
WATCHMAN
FYI, I'm successfully packaged watchman with fpm (it's awesome):
gem install fpm
git clone https://github.com/facebook/watchman.git
cd watchman
git checkout v4.1.0
sudo apt-get install python-dev
./autogen.sh
./configure --prefix=/usr
make
mkdir dist
make install DESTDIR=./dist
fpm -s dir -t deb -n watchman -C ./dist -v 4.1.0 .
And I got deb file that is ready to install:
sudo dpkg -i watchman_4.1.0_amd64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment