flexdot

A Flexible and Rake based dotfile manager.

MIT License

Downloads
9.4K
Stars
3
Committers
2

Bot releases are hidden (Show)

flexdot - v3.4.0 Latest Release

Published by hidakatsuya 10 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/hidakatsuya/flexdot/compare/v3.3.0...v3.4.0

flexdot - v3.3.0

Published by hidakatsuya over 2 years ago

What's Changed

Added the ability to automatically delete old backups. This feature can be enabled by specifying the number of backups to keep in the keep_max_backup_count option as follows:

# Rakefile
Flexdot.setup(
  # ...
  keep_max_backup_count: 10
)

Full Changelog: https://github.com/hidakatsuya/flexdot/compare/v3.2.0...v3.3.0

flexdot -

Published by hidakatsuya about 3 years ago

Minor Enhancements

The output result is now colorized. This can be disabled with the output_colorize option.

# Rakefile
Flexdot.setup(
  home_dir: '..',
+  output_colorize: false
)
flexdot -

Published by hidakatsuya over 3 years ago

Minor Changes

  • Do not create an empty backup directory
flexdot -

Published by hidakatsuya over 3 years ago

Breaking Changes

Revert 'Add default_index option #2'. Please follow the instructions below to migrate:

First, modify your Rakefile as follows:

require 'flexdot'

Flexdot.setup(
+   home_dir: '..'
-   home_dir: '..',
-   default_index: 'macOS'
)

+ task default: 'install:macOS'

Then, update flexdot:

$ bundle update flexdot

Now you can run the following command to install the default index dotfiles:

$ rake
flexdot -

Published by hidakatsuya almost 4 years ago

Migrating from v1.0.x

First, you need to rewrite the Rakefile configuration to the v2.0.0 syntax.

# v1.0.x
Flexdot.install_tasks(
  target_dir: '/home/username',
  base_dir: '.'
)
# v2.0.0
Flexdot.setup(
  home_dir: '/home/username',
  dotfiles_dir: '.'
)

Note that If the dotfiles_dir option is '.' (current directory) , you can omit it.

Then, update flexdot to v2.0.0 and you're done.

$ bundle update flexdot

Breaking Changes

  • Change the syntax of configuration in the Rakefile

Enchancements

  • Add default_index option fixes #2
  • Option renaming and simplification by default value

Please refer to README.md for more details.

flexdot -

Published by hidakatsuya about 4 years ago

Changed the package publishing host to rubygems.org from GitHub Packages.

Package Rankings
Top 32.92% on Rubygems.org
Badges
Extracted from project README
Gem Version Test