Skip to content

Commit

Permalink
Added documentation for source_exclude_dirs and clarified case-sens…
Browse files Browse the repository at this point in the history
…itivity for job source* regular expression options
  • Loading branch information
icnocop authored and iafan committed Dec 21, 2018
1 parent e07b778 commit 21a4714
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions doc/sample.serge
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
See https://github.com/iafan/Config-Neat for more information.
*/

# `sync` block contains all synchroinzation-related settings
# `sync` block contains all synchronization-related settings
sync
{
# `ts` defines which translation service
Expand Down Expand Up @@ -175,12 +175,18 @@ jobs

# (ARRAY) List of regular expressions for the file name
# to match the files that should be processed.
# This matches case-insensitively against the file name (without path)
# This matches case-sensitively against the file name (without path)
source_match \.rc$

# (ARRAY) [OPTIONAL] List of regular expressions for the relative directory path or directory name
# to match relative directory paths or directory names that should be skipped.
# This matches case-sensitively against the relative directory path or directory name (without file name)
# Default behavior: Exclude `.svn', `.git', `.hg' (Mercurial), '.bzr' (Bazaar) and `CVS' dirs
source_exclude_dirs ^(\.svn|\.git|\.hg|\.bzr|CVS)$

# (ARRAY) [OPTIONAL] List of regular expressions for the file name
# to match the files that should be skipped.
# This matches case-insensitively against the file name (without path)
# This matches case-sensitively against the file name (without path)
# Default behavior: no exclusion takes place
source_exclude ``

Expand Down Expand Up @@ -491,4 +497,4 @@ jobs

} # end of jobs block

# end of config
# end of config

0 comments on commit 21a4714

Please sign in to comment.