Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wtnabe/myenv-builder
Rake tasks for setting up your dotfiles, firefox profiles, etc
https://github.com/wtnabe/myenv-builder
Last synced: about 2 months ago
JSON representation
Rake tasks for setting up your dotfiles, firefox profiles, etc
- Host: GitHub
- URL: https://github.com/wtnabe/myenv-builder
- Owner: wtnabe
- Created: 2009-07-09T08:11:02.000Z (over 15 years ago)
- Default Branch: master
- Last Pushed: 2011-09-17T12:53:02.000Z (over 13 years ago)
- Last Synced: 2023-04-12T05:26:37.188Z (almost 2 years ago)
- Language: Ruby
- Homepage:
- Size: 97.7 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
README
myenv-builder
=============generate and deploy your configuration files like dot files, firefox user.js, etc.
I'm using it on FreeBSD, Linux, Windows and MacOSX
REQUIRE
-------* Ruby
* RakeGETTING STARTED
---------------basic layout
myenv-builder
|-- README
|-- Rakefile
|-- dotfiles/ your dot files
|-- firefox/ your profile settings
`-- lib/ Rakefile's libraries$ cd myenv-builder
$ mv ~/.zshrc dotfiles/zshrc
$ rake dotfiles:link_priv
$ ls -l ~/.zshrc -> dotfiles/zshrc
WHAT YOU CAN
------------1. versioning your config files
2. reuse the same config files in multiple environments
3. switch to set up config files for job or private with erbERB EXAMPLE
-----------gitconfig.erb
[user]
<%- if workspace == 'job' -%>
name = T.Watanabe
email = [email protected]
<%- else -%>
name = wtnabe
email = [email protected]
<%- end -%>
[alias]
stat = status
ci = commit -a
br = branch
co = checkout
up = update
[color]
status = auto
diff = auto
[core]
excludesfile = <%= ENV['HOME'] %>/.gitignore