Skip to content

Commit

Permalink
revise debug directions in README (elementary#312)
Browse files Browse the repository at this point in the history
  • Loading branch information
cassidyjames authored and danirabbit committed Apr 20, 2018
1 parent 7596030 commit b9cc225
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Expand Up @@ -25,18 +25,22 @@ You'll need the following dependencies:
- [distinst](https://github.com/pop-os/distinst/)
- valac

Run `meson build` to configure the build environment. Change to the build directory and run `ninja test` to build and run automated tests
Run `meson build` to configure the build environment. Change to the build directory and run `ninja test` to build and run automated tests.

meson build --prefix=/usr
cd build
ninja test

To install, use `ninja install`, then execute with `io.elementary.installer`
To install, use `ninja install`, then execute with `io.elementary.installer`. Note that listing drives and actually installing requires root.

sudo ninja install
io.elementary.installer

You can also use test mode for development to disable some destructive behaviors like restarting and shutting down:
You can also use `--test` mode for development to disable destructive behaviors like installing, restarting, and shutting down:

`io.elementary.installer -t` or `io.elementary.installer --test`
io.elementary.installer --test

For debug messages, set the `G_MESSAGES_DEBUG` environment variable, e.g. to `all`:

G_MESSAGES_DEBUG=all io.elementary.installer

0 comments on commit b9cc225

Please sign in to comment.