Skip to content

Commit

Permalink
adjust compiler name
Browse files Browse the repository at this point in the history
  • Loading branch information
kmvan committed Nov 22, 2017
1 parent e107222 commit ce18e17
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions compile.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

include __DIR__ . '/vendor/autoload.php';

class Build
class Compiler
{
const BASE_DIR = __DIR__ . '/src/';
const COMPILE_FILE_PATH = __DIR__ . '/dist/prober.php';
Expand Down Expand Up @@ -202,11 +202,11 @@ private function writeFile(string $data): bool
$dir = \dirname(self::COMPILE_FILE_PATH);

if ( ! \is_dir($dir)) {
\mkdir($dir, 0755);
\mkdir($dir, 0755, true);
}

return (bool) \file_put_contents(self::COMPILE_FILE_PATH, $data);
}
}

new Build();
new Compiler();

0 comments on commit ce18e17

Please sign in to comment.