diff --git a/Makefile b/Makefile index d077fe58..3107b38d 100644 --- a/Makefile +++ b/Makefile @@ -19,10 +19,13 @@ sharedir=$(DESTDIR)$(PREFIX)/share target/release/authenticator-rs : src cargo build --release -# Comping gResource +# Compiling gResource gresource: glib-compile-resources data/uk.co.grumlimited.authenticator-rs.xml +run: gresource + cargo run + # Install onto the system install : target/release/authenticator-rs gresource # Create the bindir, if need be diff --git a/README.md b/README.md index 12848368..49880e1f 100644 --- a/README.md +++ b/README.md @@ -37,16 +37,18 @@ Download from the [release](https://github.com/grumlimited/authenticator-rs/rele pacman -U authenticator-rs-x.x.x-1-x86_64.pkg.tar.xz -## Building +## Building (dev) - cargo build - - cargo install --path=. + make target/release/authenticator-rs $HOME/.cargo/bin/authenticator-rust +## Running (dev) + + make run + ## Assets Icon files are from [authenticator](https://gitlab.gnome.org/World/Authenticator). -Original GTK template from [Nora Codes - gDiceRoller](https://nora.codes/tutorial/speedy-desktop-apps-with-gtk-and-rust/) . \ No newline at end of file +Original GTK template from [Nora Codes - gDiceRoller](https://nora.codes/tutorial/speedy-desktop-apps-with-gtk-and-rust/).