Browse Source

saves and copies clancats vendor directory at correct location

Keith Newman 9 years ago
parent
commit
d3d87d27c7

+ 2 - 2
frameworks/PHP/clancats/.gitignore

@@ -1,6 +1,6 @@
 public/assets/packtacular/
 CCF/app/config/migrator.json
-CCF/vendor/
+vendor/
 storage/
 .DS_Store
 Thumbs.db
@@ -10,4 +10,4 @@ phpunit.xml
 phpunit.phar
 report/
 run
-/clancatsapp/
+clancatsapp/

+ 0 - 14
frameworks/PHP/clancats/composer.json

@@ -7,19 +7,5 @@
 	"require": {
 		"clancats/core": "2.0.*"
 	},
-	"config": {
-		"vendor-dir": "CCF/vendor"
-	},
-	"scripts": {
-		"post-install-cmd": [
-			"php cli phpunit::build"
-		],
-		"post-update-cmd": [
-			"php cli phpunit::build"
-		],
-		"post-create-project-cmd": [
-			"php cli doctor::security_key"
-		]
-	},
 	"minimum-stability": "stable"
 }

+ 1 - 1
frameworks/PHP/clancats/setup.sh

@@ -12,7 +12,7 @@ git clone --branch v2.0.6 https://github.com/ClanCats/Framework.git clancatsapp
 
 cp -r app/ clancatsapp/CCF/
 
-cp -r CCF/vendor/ clancatsapp/CCF/
+cp -r vendor/ clancatsapp/CCF/
 
 php-fpm --fpm-config $FWROOT/config/php-fpm.conf -g $TROOT/deploy/php-fpm.pid
 nginx -c $TROOT/deploy/nginx.conf