Skip to content

Commit

Permalink
remove script
Browse files Browse the repository at this point in the history
  • Loading branch information
garveen committed Mar 6, 2017
1 parent ac156a7 commit 0bc5576
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
3 changes: 0 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,5 @@
"Garveen\\Imagist\\": "src/"
}
},
"scripts": {
"post-update-cmd": "Garveen\\Imagist\\Imagist::publish"
},
"license": "GPL-2.0"
}
7 changes: 0 additions & 7 deletions src/Imagist.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ public function run()
return $this->get($filename);
}

public static function publish()
{
mkdir('public', 0755);
copy(__DIR__ . '/../public/index.php', 'public/index.php');
copy(__DIR__ . '/../imagist', 'imagist');
}

protected function dumpAll()
{
$packagesJson = $this->get('packages.json');
Expand Down

0 comments on commit 0bc5576

Please sign in to comment.