Skip to content

Commit

Permalink
Added ability to include directories as an extension of the config fi…
Browse files Browse the repository at this point in the history
…le (#421)
  • Loading branch information
PolpOnline committed May 25, 2023
1 parent 7c3ba80 commit cb7adc8
Show file tree
Hide file tree
Showing 5 changed files with 555 additions and 112 deletions.
37 changes: 35 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,14 @@ tempfile = "~3.2"
cfg-if = "~1.0"
tokio = { version = "~1.18", features = ["process", "rt-multi-thread"] }
futures = "~0.3"
regex = "~1.5"
regex = "~1.7"
semver = "~1.0"
shell-words = "~1.1"
color-eyre = "~0.6"
tracing = { version = "~0.1", features = ["attributes", "log"] }
tracing-subscriber = { version = "~0.3", features = ["env-filter", "time"] }
merge = "0.1.0"
regex-split = "0.1.0"

[target.'cfg(target_os = "macos")'.dependencies]
notify-rust = "~4.5"
Expand Down
7 changes: 7 additions & 0 deletions config.example.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Include any additional configuration file(s)
# [include] sections are processed in the order you write them
# Files in $CONFIG_DIR/topgrade/topgrade.d/ are automatically included at the beginning of this file
[include]
#paths = ["/etc/topgrade.toml"]

[misc]
# Don't ask for confirmations
#assume_yes = true

Expand Down

0 comments on commit cb7adc8

Please sign in to comment.