Sha256: 95fc139f576b2dfae2627b3193d413c4088c84670362a2d1c8e69975d26f6aa0
Contents?: true
Size: 1.49 KB
Versions: 1
Compression:
Stored size: 1.49 KB
Contents
Xoltignore reference ==================== In the same fashion git uses ``.gitignore`` files to know which files to track or not, xolti uses ``.xoltignore`` files to detect which files needs a header or not. You can create one ``.xoltignore`` in each directory of your project. Syntax ------ ``.xoltignore`` files are plain text files, using a sub-set of the syntax of ``.gitignore`` : - Each line specifies a pattern used to ignore or not a path - A line is ignored if it is blank or starts with ``#``` - Globing (use of ``*`` and/or ``**`` wildcards) is supported - A pattern can be inverted by prefixing it with ``!`` - Pattern are read line by line, from top to bottom; lower rules override higher ones, and rules from a deeper folder override rules from higher folders - A pattern ending with ``/`` matches only directories Example : js project -------------------- Folders/files structure : .. code-block:: text |- Javascript_Project |- app.js |- package.json |- node_modules |- ... Possible ``.xoltignore`` : .. code-block:: text # Ignore files installed by npm node_modules # Ignore package.json package.json Example : java maven project ---------------------------- Folders/files structure : .. code-block:: text |- Java_Maven_Project |- pom.xml |- readme |- src |- main |- java |- App.java Possible ``.xoltignore`` : .. code-block:: text # Ignore all files but pom.xml and java sources * !pom.xml !src/**/*.java
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xolti-0.2.0 | docs/xoltignore.rst |