justone / dfm

dotfiles manager
http://endot.org/projects/#dfm
Other
123 stars 18 forks source link

Feature req: make repo installable via cpanm #20

Closed adam-stokes closed 10 years ago

adam-stokes commented 10 years ago

Thanks for this project, to ease the installation on multiple machines maybe provide the perl build instructions in the git repo so we could do:

$ cpanm git@github.com:justone/dfm.git

And have it ready to go. Using with something like plenv or perlbrew could make everything self contained for the running user.

Not a huge deal but something that might be useful

thanks!

justone commented 10 years ago

Makes sense. I'll see what I can do.

Thanks.

adam-stokes commented 10 years ago

If you'd like I could submit a PR with the changes?

justone commented 10 years ago

Thank you for the offer. I've been meaning to do something like this for a while and this was the nudge I needed. I set up Minilla and used it to release v0.7.1 which is now cpanm installable:

# cpanm git://github.com/justone/dfm.git
Cloning git://github.com/justone/dfm.git ... OK
--> Working on git://github.com/justone/dfm.git
Configuring App-Dotfiles-Manager-v0.7.1 ... OK
==> Found dependencies: Test::Trap, File::Slurp
--> Working on Test::Trap
Fetching http://www.cpan.org/authors/id/E/EB/EBHANSSEN/Test-Trap-v0.2.3.tar.gz ... OK
Configuring Test-Trap-v0.2.3 ... OK
==> Found dependencies: Test::Tester, Data::Dump
--> Working on Test::Tester
Fetching http://www.cpan.org/authors/id/F/FD/FDALY/Test-Tester-0.109.tar.gz ... OK
Configuring Test-Tester-0.109 ... OK
Building and testing Test-Tester-0.109 ... OK
Successfully installed Test-Tester-0.109
--> Working on Data::Dump
Fetching http://www.cpan.org/authors/id/G/GA/GAAS/Data-Dump-1.22.tar.gz ... OK
Configuring Data-Dump-1.22 ... OK
Building and testing Data-Dump-1.22 ... OK
Successfully installed Data-Dump-1.22
Building and testing Test-Trap-v0.2.3 ... OK
Successfully installed Test-Trap-v0.2.3
--> Working on File::Slurp
Fetching http://www.cpan.org/authors/id/U/UR/URI/File-Slurp-9999.19.tar.gz ... OK
Configuring File-Slurp-9999.19 ... OK
Building and testing File-Slurp-9999.19 ... OK
Successfully installed File-Slurp-9999.19
Building and testing App-Dotfiles-Manager-v0.7.1 ... OK
Successfully installed App-Dotfiles-Manager-v0.7.1
5 distributions installed
adam-stokes commented 10 years ago

Just tested and it worked! Thanks for the quick fix!