diff --git a/README.md b/README.md index a80e607..6297d17 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,24 @@ # learn-hieroglyphs +## building +To build this on GNU/Linux: +1.Install dependencies for your distro: +### Arch linux: +``sudo pacman -S glib2 rust`` +### Debian and derivatives: +``sudo apt install glib2.0-0 rust`` +2.Build it: +``` +chmod +x ./build.sh +./build.sh +``` +then, run it: +``` +cargo run +``` +Windows sucks. +##Contributing +Contributing is welcome! Please, make an issue if you found a bug. +Ideas are welcomed as well! +##Закрытие проекта +скоро.. diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..e8ad9da --- /dev/null +++ b/build.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +#Compile schemas for gtk settings +mkdir -p $HOME/.local/share/glib-2.0/schemas +cp org.gtk_rs.Settings1.gschema.xml $HOME/.local/share/glib-2.0/schemas/ +glib-compile-schemas $HOME/.local/share/glib-2.0/schemas/ + +#building +cargo build