aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrummfy <me@grummfy.be>2017-07-12 00:05:32 +0200
committerGrummfy <me@grummfy.be>2017-07-12 00:06:57 +0200
commit811fc28c90c3c2919317c743640cfec9c52aa6e6 (patch)
treebb3ba3a156195acd371f9ff65942d06652da455c
parent2ffec3815f3d38b626c7611b7a3ac023182ca558 (diff)
downloadCli-811fc28c90c3c2919317c743640cfec9c52aa6e6.zip
Cli-811fc28c90c3c2919317c743640cfec9c52aa6e6.tar.gz
Cli-811fc28c90c3c2919317c743640cfec9c52aa6e6.tar.bz2
fix(autoloading) bad autoloading for the cli namespace related to hoaproject/Devtools#45
-rw-r--r--.gitignore2
-rw-r--r--composer.json5
2 files changed, 7 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4fbb073
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/vendor/
+/composer.lock
diff --git a/composer.json b/composer.json
index 92018ae..4225de9 100644
--- a/composer.json
+++ b/composer.json
@@ -33,6 +33,11 @@
"config": {
"bin-dir": "bin/"
},
+ "autoload": {
+ "psr-4": {
+ "Hoa\\Cli\\": "."
+ }
+ },
"bin" : ["Bin/hoa"],
"extra": {
"branch-alias": {