Add vendors/ directory for third-party modules
authorEvan Coury <me@evancoury.com>
Fri, 11 Nov 2011 03:36:14 +0000 (20:36 -0700)
committerEvan Coury <me@evancoury.com>
Fri, 11 Nov 2011 03:36:14 +0000 (20:36 -0700)
- The odd-looking .gitignore is so that the README file is included in the
repository, but if the user installs some third part modules, they won't
accidentally be added to the skeleton git repository. We do the same thing in
the modules/ directory.
- Added readme explaining that vendors/ is for third-party modules

configs/application.config.php
vendors/.gitignore [new file with mode: 0644]
vendors/README.md [new file with mode: 0644]

index 873c275..5f35e66 100644 (file)
@@ -2,6 +2,7 @@
 return array(
     'module_paths' => array(
         realpath(__DIR__ . '/../modules'),
+        realpath(__DIR__ . '/../vendors'),
     ),
     'modules' => array(
         'Application',
diff --git a/vendors/.gitignore b/vendors/.gitignore
new file mode 100644 (file)
index 0000000..e082ac7
--- /dev/null
@@ -0,0 +1,3 @@
+/*
+!README.md
+!.gitignore
diff --git a/vendors/README.md b/vendors/README.md
new file mode 100644 (file)
index 0000000..29381b6
--- /dev/null
@@ -0,0 +1 @@
+This `vendors/` directory is where third-party modules should be installed.