Skip to content

Commit

Permalink
Merge branch 'csoriano89-patch-1'
Browse files Browse the repository at this point in the history
  • Loading branch information
allanday committed Mar 13, 2017
2 parents 18eb896 + 602cbbc commit 1554b14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/flatpak-builder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,17 +68,17 @@ When flatpak-builder exports the build into a repository, it automatically inclu
Example
-------

You can try flatpak-builder for yourself, using the repository that was created in the `previous section <building-simple-apps.html>`_. To do this, place the manifest JSON from above into a file called ``org.gnome.Dictionary.json`` and run the following command::
To try flatpak-builder for yourself, create a file called ``org.gnome.Dictionary.json`` and place the manifest JSON into it. Then run the following command::

$ flatpak-builder --repo=repo dictionary2 org.gnome.Dictionary.json

This will:

* Create a new directory (called dictionary2)
* Create a new directory called dictionary2 (equivalent to using `flatpak build-init`)
* Download and verify the Dictionary source code
* Build and install the source code, using the SDK rather than the host system
* Finish the build, by setting permissions (in this case giving access to X and the network)
* Export the resulting build to the tutorial repository, which contains the Dictionary app that was previously installed
* Create a new repository called repo (if it doesn't exist) and export the resulting build into it

flatpak-builder will also do some other useful things, like creating a separately installable debug runtime (called `org.gnome.Dictionary.Debug` in this case) and a separately installable translation runtime (called ``org.gnome.Dictionary.Locale``).

Expand Down

0 comments on commit 1554b14

Please sign in to comment.