Usage
=======
-* Clean all previously created *build* and *install* directories (example application as *SALOME_xx*): ::
+* Clean all previously created *build* and *install* directories (example application as *SALOME_xx*):
+
+ .. code-block:: bash
# take care, is long time to restore, sometimes
sat clean SALOME-xx --build --install
-* Clean previously created *build* and *install* directories, only for products with property *is_salome_module*: ::
+* Clean previously created *build* and *install* directories, only for products with property *is_salome_module*:
+
+ .. code-block:: bash
sat clean SALOME-xxx --build --install \
--properties is_salome_module:yes
Availables options
======================
- * **--products**: Products to clean.
+ * **--products** : Products to clean.
- * **--properties**:
+ * **--properties** :
| Filter the products by their properties.
- | Syntax: --properties <property>:<value>
+ | Syntax: *--properties <property>:<value>*
- * **--sources**: Clean the product source directories.
+ * **--sources** : Clean the product source directories.
- * **--build**: Clean the product build directories.
+ * **--build** : Clean the product build directories.
- * **--install**: Clean the product install directories.
+ * **--install** : Clean the product install directories.
- * **--all**: Clean the product source, build and install directories.
+ * **--all** : Clean the product source, build and install directories.
- * **--sources_without_dev**:
+ * **--sources_without_dev** :
- | Do not clean the products in development mode,
+ | Do not clean the products in development mode,
| (they could have VCS_ commits pending).
.. note::
By default, the archive is created in the working directory of the user (``USER.workDir``).
- If the option *name* is used with a path (relative or absolute) it will be used.
- If the option *name* is not used and binaries (prerequisites and products) are
- included in the package, the OS_ architecture
- will be appended to the name (example: *SALOME_xx-CO7.tgz*).
+
+ If the option *--name* is used with a path (relative or absolute) it will be used.
+
+ If the option *--name* is not used and binaries (prerequisites and products)
+ are included in the package, the OS_ architecture
+ will be appended to the name (example: ``SALOME_xx-CO7.tgz``).
Examples: ::
* **$prefix** reference to another parameter (ex: ``$PRODUCT.name``),
* **#** comments.
-.. note:: in this documentation a reference to a configuration parameter will be noted ``$XXX.YYY``.
+.. note:: in this documentation a reference to a configuration parameter will be noted ``XXX.YYY``.
Description
===========
VARS section
-------------
| This section is dynamically created by salomeTools at run time.
-| It contains information about the environment: date, time, OS, architecture etc.
+| It contains information about the environment: date, time, OS, architecture etc.
-.. note:: use this command to get the current setting: *sat config -v VARS*
+::
+ # to get the current setting
+ sat config --value VARS
PRODUCTS section
------------------
| This section is defined in the product file.
| It contains instructions on how to build a version of SALOME (list of prerequisites-products and versions)
-.. note:: use this command to get the current setting: *sat config SALOME-xx -v PRODUCTS*
+::
+
+ # to get the current setting
+ sat config SALOME-xx --value PRODUCTS
APPLICATION section
---------------------
| This section is optional, it is also defined in the product file.
| It gives additional parameters to create an application based on SALOME, as versions of products to use.
-.. note:: use this command to get the current setting: *sat config SALOME-xx -v APPLICATION*
+::
+
+ # to get the current setting
+ sat config SALOME-xx --value APPLICATION
+
.. _USER-Section:
USER section
--------------
-This section is defined by the user configuration file
-which is located in *~/.salomeTools/salomeTools.pyconf*.
+This section is defined by the user configuration file,
+``~/.salomeTools/salomeTools.pyconf``.
+
+The ``USER`` section defines some parameters (not exhaustive):
+
+* **workDir** :
+
+ | The working directory.
+ | Each product will be usually installed here (in sub-directories).
+
+* **browser** : The web browser to use (*firefox*).
+
+* **editor** : The editor to use (*vi, pluma*).
-The USER section defines parameters (not exhaustive):
+* and other user preferences.
-* **workDir** the working directory. Each product will be usually installed here (in sub-directories).
-* and other users preferences.
+::
-.. note:: use this command to get the current setting: *sat config SALOME-xx -v USER*.
+ # to get the current setting
+ sat config SALOME-xx --value USER