-
Notifications
You must be signed in to change notification settings - Fork 8
/
config.example.yaml
118 lines (115 loc) · 2.87 KB
/
config.example.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
# Don't include files into backups even if they don't match the rules.
no-include: true
# Directories to scan and rules to apply.
directories:
- path: ~/
rules: [ Development ]
# Skip the following paths.
skips:
- ~/Library
- ~/Pictures
- ~/.vscode
- ~/.npm
- ~/Dropbox
- ~/.dropbox
- ~/.Trash
- ~/.pnpm-store
# These directories trigger permission request dialogs repeatedly in daemon mode.
- ~/Downloads
- ~/Desktop
- ~/Documents
# Exclude paths that match these patterns. Notice that they must be referenced by at least one `directories` entry above to take effect.
rules:
# You may merge other rules by defining an array.
# The development rules are adopted from [asimov](https://github.com/stevegrunwell/asimov)
Development:
- Swift
- Gradle
- Gradle Kotlin Script
- Flutter (Dart)
- Pub (Dart)
- Stack (Haskell)
- Tox (Python)
- Vagrant
- virtualenv (Python)
- Carthage
- CocoaPods
- Bower (JavaScript)
- Python
- PyPI Publishing (Python)
- "npm, Yarn (NodeJS)"
- Cargo (Rust)
- Maven
- Composer (PHP)
- Bundler (Ruby)
- Go Modules (Golang)
- Mix dependencies (Elixir)
- Mix build files (Elixir)
Swift:
# Paths to exclude.
excludes: [ ".build" ]
# ... only if ANY of these paths exists adjacently.
if-exists: [ Package.swift ]
Gradle:
excludes: [ build ]
if-exists: [ build.gradle ]
Gradle Kotlin Script:
excludes: [ build ]
if-exists: [ build.gradle.kts ]
Flutter (Dart):
excludes: [ build ]
if-exists: [ pubspec.yaml ]
Pub (Dart):
excludes: [ ".packages" ]
if-exists: [ pubspec.yaml ]
Stack (Haskell):
excludes: [ ".stack-work" ]
if-exists: [ stack.yaml ]
Tox (Python):
excludes: [ ".tox" ]
if-exists: [ tox.ini ]
Vagrant:
excludes: [ ".vagrant" ]
if-exists: [ Vagrantfile ]
virtualenv (Python):
excludes: [ venv ]
if-exists: [ requirements.txt ]
Carthage:
excludes: [ Carthage ]
if-exists: [ Cartfile ]
CocoaPods:
excludes: [ Pods ]
if-exists: [ Podfile ]
Bower (JavaScript):
excludes: [ bower_components ]
if-exists: [ bower.json ]
Python:
excludes: [ build ]
if-exists: [ setup.py ]
PyPI Publishing (Python):
excludes: [ dist ]
if-exists: [ setup.py ]
"npm, Yarn (NodeJS)":
excludes: [ node_modules ]
if-exists: [ package.json ]
Cargo (Rust):
excludes: [ target ]
if-exists: [ Cargo.toml ]
Maven:
excludes: [ target ]
if-exists: [ pom.xml ]
Composer (PHP):
excludes: [ vendor ]
if-exists: [ composer.json ]
Bundler (Ruby):
excludes: [ vendor ]
if-exists: [ Gemfile ]
Go Modules (Golang):
excludes: [ vendor ]
if-exists: [ go.mod ]
Mix dependencies (Elixir):
excludes: [ deps ]
if-exists: [ mix.exs ]
Mix build files (Elixir):
excludes: [ ".build" ]
if-exists: [ mix.exs ]