Add the instructions for dev env into README.org

This commit is contained in:
Sameer Rahmani 2020-06-12 14:30:34 +01:00
parent 1fed8429d1
commit f4e7387733
2 changed files with 21 additions and 0 deletions

5
Cargo.lock generated Normal file
View File

@ -0,0 +1,5 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "serene"
version = "0.1.0"

16
README.org Normal file
View File

@ -0,0 +1,16 @@
* Serene lang
** Setup development environment
*** Emacs
[[https://github.com/brotzeit/rustic][Rustic]] is highly recommended. Just install it and install the dependencies necessary
on the Rust side. If you're using *FG42*, It already ships with Rustic installed.
**** Requirements on the Rust side
To setup the dev envrionment you need to have *Clippy* and *RLS* installed. Run the
following commands to install them:
#+BEGIN_SRC bash
rustup component add rls --toolchain stable-x86_64-unknown-linux-gnu
rustup component add --toolchain stable-x86_64-unknown-linux-gnu clippy
#+END_SRC
Use your desired toolchain instead of *stable-x86_64-unknown-linux-gnu*