Skip to content

Commit a15c4c3

Browse files
committed
Update bin/omr
1 parent 0be7a20 commit a15c4c3

File tree

3 files changed

+16
-20
lines changed

3 files changed

+16
-20
lines changed

bin/omr

+16-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
11
#!/usr/bin/env php
22
<?php
3-
include('omr.php');
3+
4+
foreach (array(__DIR__ . '/../../../autoload.php', __DIR__ . '/../vendor/autoload.php') as $file) {
5+
6+
if (file_exists($file)) {
7+
require_once $file;
8+
9+
break;
10+
}
11+
}
12+
13+
use JansenFelipe\OMR\Commands\ScanCommand;
14+
use Symfony\Component\Console\Application;
15+
16+
$application = new Application();
17+
$application->add(new ScanCommand());
18+
$application->run();

bin/omr.bat

-9
This file was deleted.

bin/omr.php

-10
This file was deleted.

0 commit comments

Comments
 (0)