From ffec6fef7a84f7ac9334356850b44d383eca8eaa Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 11 Sep 2017 22:22:35 +0100 Subject: [PATCH] Remove Composer scripts --- composer.json | 13 ------------- scripts/composer/ScriptHandler.php | 28 ---------------------------- 2 files changed, 41 deletions(-) delete mode 100644 scripts/composer/ScriptHandler.php diff --git a/composer.json b/composer.json index 7dce946..191a9f0 100644 --- a/composer.json +++ b/composer.json @@ -12,18 +12,5 @@ "require": { "dflydev/embedded-composer": "^1.0@dev", "sculpin/sculpin": "^2.1@dev" - }, - "autoload": { - "classmap": [ - "scripts/composer/ScriptHandler.php" - ] - }, - "scripts": { - "post-install-cmd": [ - "SculpinSkeleton\\composer\\ScriptHandler::createRequiredFiles" - ], - "post-update-cmd": [ - "SculpinSkeleton\\composer\\ScriptHandler::createRequiredFiles" - ] } } diff --git a/scripts/composer/ScriptHandler.php b/scripts/composer/ScriptHandler.php deleted file mode 100644 index 474368e..0000000 --- a/scripts/composer/ScriptHandler.php +++ /dev/null @@ -1,28 +0,0 @@ -exists("$sculpinRoot/$dir")) { - $fs->mkdir("$sculpinRoot/$dir"); - $fs->touch("$sculpinRoot/$dir/.gitkeep"); - } - } - } -}