Skip to content

Commit 4971ec6

Browse files
authored
Alpha 3 (#12)
1 parent 9b52918 commit 4971ec6

2 files changed

Lines changed: 14 additions & 3 deletions

File tree

README.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,19 @@ use FileEye\MimeMap\Type;
101101
### Updating extension mapping
102102

103103
The built-in extension-to-type mapping list can be updated from Apache's source
104-
code repository:
104+
code repository, using the `fileeye-mimemap` utility:
105105

106106
```
107-
$ .vendor/bin/fileeye-mimemap update
107+
$ cd [project_directory]/vendor/bin
108+
$ fileeye-mimemap update
108109
```
110+
111+
By default, the utility fetches the map from the Apache's documentation website,
112+
integrates it with any overrides specified in the `resources/apache_overrides.yml`
113+
file, and updates the default map stored in the file that is storing the `\FileEye\MimeMap\Map\ApacheMap` PHP class.
114+
115+
Type
116+
```
117+
$ fileeye-mimemap update --help
118+
```
119+
to get information on the command line options that can override the default.

src/Version.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ class Version
1414
*/
1515
public static function get()
1616
{
17-
return '1.0.0-dev';
17+
return '1.0.0-alpha3';
1818
}
1919
}

0 commit comments

Comments
 (0)