Skip to content

Commit

Permalink
[main] Adapt generator command
Browse files Browse the repository at this point in the history
  • Loading branch information
crypto-scythe committed Apr 29, 2023
1 parent a0b363b commit 918f40e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
/vendor/
/http/
3 changes: 2 additions & 1 deletion generate.php → bin/http_generate.php
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#!/usr/bin/env php
<?php

declare(strict_types=1);

require __DIR__ . '/vendor/autoload.php';
include $_composer_autoload_path ?? __DIR__ . '/../vendor/autoload.php';

use CryptoScythe\Http\Generator\Definition;
use CryptoScythe\Http\Generator\Generator;
Expand Down
7 changes: 5 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "crypto_scythe/http_generator",
"version": "1.0.0",
"version": "1.0.1",
"description": "HTTP header fields, media types and status codes",
"license": "MIT",
"keywords": [
Expand Down Expand Up @@ -28,5 +28,8 @@
},
"require-dev": {
"ext-json": "*"
}
},
"bin": [
"bin/http_generate.php"
]
}

0 comments on commit 918f40e

Please sign in to comment.