Skip to content

Commit

Permalink
Adds Makefile and installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanprior committed May 22, 2020
1 parent 0e0b4dd commit eb57555
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/meet
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
DESTDIR := /usr/local

meet: meet.cr shard.yml .git/refs/heads/master
crystal build --release --static --no-debug -o $@ $<

.PHONY: install
install: meet
install meet $(DESTDIR)/bin/meet
26 changes: 26 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,29 @@ https://meet.jit.si/iN9SYLvP/HackOnMeet
| . | -O | --open-immediate | open URL in your browser immediately |
| copy | -c | --copy | copy URL to clipboard using xsel |
| send | -k USER | --send-kb=USER | send URL to USER on Keybase |

## Installation

Go to [releases](https://github.com/ryanprior/meet/releases) and download the
latest archive. Then unpack it somewhere on your PATH, such as:

```sh-session
$ cd ~/Downloads
$ tar xzf meet-1.0.tgz
$ sudo install meet /usr/local/bin/meet
```

### Installation from source

To install `meet` from source, you will need these dependencies:
- git
- crystal
- make
- install

Follow these steps:
```sh-session
$ git clone https://github.com/ryanprior/meet.git
$ make
$ sudo make install
```

0 comments on commit eb57555

Please sign in to comment.