Skip to content

Instantly share code, notes, and snippets.

@ChrisCates
Created December 17, 2018 19:08
Show Gist options
  • Select an option

  • Save ChrisCates/32e04e3d89cb044efb7de8f5dc255c2f to your computer and use it in GitHub Desktop.

Select an option

Save ChrisCates/32e04e3d89cb044efb7de8f5dc255c2f to your computer and use it in GitHub Desktop.
#!/bin/bash
set -v
mkdir hiredisxtmp
cd hiredisxtmp
git clone https://github.com/redis/hiredis --depth 1
cd hiredis
make && make install
cd ..
git clone https://github.com/ChrisCates/hiredisx --depth 1
cd hiredisx
mkdir build
cd build
cmake ..
make
make install
cd ../..
rm -rf hiredisxtmp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment