summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2013-08-20 20:05:12 -0700
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2013-08-20 20:05:42 -0700
commitc3f9e7a6507a479af34650f4a033df598a054898 (patch)
tree51c2eaf4db48cf84261018c3e6eec5f947e5490a /lib
parent14291d305d742909cd083f5172cd5ae5004d80de (diff)
downloadcarton-c3f9e7a6507a479af34650f4a033df598a054898.tar.gz
add cpanfile to git
Diffstat (limited to 'lib')
-rw-r--r--lib/Carton.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/lib/Carton.pm b/lib/Carton.pm
index b54a599..86ed7d1 100644
--- a/lib/Carton.pm
+++ b/lib/Carton.pm
@@ -55,7 +55,7 @@ recommended to exclude these directories from the version control
system.
> echo local/ >> .gitignore
- > git add cpanfile.snapshot
+ > git add cpanfile cpanfile.snapshot
> git commit -m "Start using carton"
=head2 Tracking the dependencies
@@ -74,10 +74,11 @@ The modules are installed into your I<local> directory, and the
dependencies tree and version information are analyzed and saved into
I<cpanfile.snapshot> in your directory.
-Make sure you add I<cpanfile.snapshot> to your version controlled repository
-and commit changes as you update dependencies. This will ensure that
-other developers on your app, as well as your deployment environment,
-use exactly the same versions of the modules you just installed.
+Make sure you add I<cpanfile> and I<cpanfile.snapshot> to your version
+controlled repository and commit changes as you update
+dependencies. This will ensure that other developers on your app, as
+well as your deployment environment, use exactly the same versions of
+the modules you just installed.
> git add cpanfile cpanfile.snapshot
> git commit -m "Added Plack and Starman"