tj / mon

mon(1) - Simple single-process process monitoring program written in C
1.08k stars 94 forks source link

packages #13

Closed ralyodio closed 12 years ago

ralyodio commented 12 years ago

Any chance of getting packages for debian and brew?

tj commented 12 years ago
#
# Get and install <repo>.
#

get() {
  local prev=`pwd`
  local repo=$1
  rm -fr /tmp/get \
    && mkdir /tmp/get \
    && cd /tmp/get \
    && curl -#L https://github.com/$repo/tarball/master \
    | tar zx --strip 1 \
    && make install \
    && cd $prev
}

is what I use, get visionmedia/mon haha, but yeah I'm sure we could add those, super easy to just curl the tarball and make install

ralyodio commented 12 years ago

It might be easier in the readme to do a one-liner, like npm and brew installation.

curl http://github.com/visionmedia/mon/install.sh | sh
tj commented 12 years ago

that gets annoying per-project, I'll look into adding it to brew etc later, though I know brew is really annoying to maintain

ralyodio commented 12 years ago

Sure, but I think for the README people want a one liner....not every will know to put this in the .bashrc.