mirror of
https://github.com/wez/wezterm.git
synced 2024-09-11 14:25:57 +03:00
Add get-deps script for installing dependencies
This commit is contained in:
parent
83604ca888
commit
6145667e5d
@ -15,8 +15,9 @@ There's never enough! Pretty much anything is fair game to improve here.
|
||||
|
||||
There are a lot of targets out there. Today we have docs that are Ubuntu biased
|
||||
and I know that there are a lot flavors of Linux. Rather than expand the README
|
||||
with intructions for those, I'd like to just bake those instructions into a script
|
||||
and expand that as we go.
|
||||
with intructions for those, please translate the instructions into steps that
|
||||
can be run in the [`get-deps`](https://github.com/wez/wezterm/blob/master/get-deps)
|
||||
script.
|
||||
|
||||
## Contributing code
|
||||
|
||||
|
@ -22,9 +22,7 @@ deps are needed for ubuntu systems:
|
||||
|
||||
```
|
||||
$ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly
|
||||
$ sudo apt-get install -y ragel libxcb-icccm4-dev libxcb-ewmh-dev \
|
||||
libxcb-keysyms1-dev libfontconfig1-dev libfreetype6-dev libegl1-mesa-dev \
|
||||
libharfbuzz-dev
|
||||
$ sudo ./get-deps
|
||||
$ git clone --depth=1 --branch=master https://github.com/wez/wezterm.git
|
||||
$ cd wezterm
|
||||
$ cargo build --release
|
||||
|
20
get-deps
Executable file
20
get-deps
Executable file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
|
||||
case `lsb_release -ds` in
|
||||
Ubuntu*)
|
||||
apt-get install -y \
|
||||
bsdutils \
|
||||
libxcb-icccm4-dev \
|
||||
libxcb-ewmh-dev \
|
||||
libxcb-keysyms1-dev \
|
||||
libfontconfig1-dev \
|
||||
libfreetype6-dev \
|
||||
libegl1-mesa-dev \
|
||||
libharfbuzz-dev \
|
||||
ragel
|
||||
;;
|
||||
*)
|
||||
echo "Please contribute the commands to install the deps"
|
||||
echo "For `lsb_release -ds`"
|
||||
;;
|
||||
esac
|
Loading…
Reference in New Issue
Block a user