mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
refactor: pre-commit.php updates (#8679)
Disable the log for unit tests to speed things up hopefully
This commit is contained in:
committed by
Neil Lathwood
parent
5273b291bf
commit
8afafe7eb0
@@ -16,7 +16,7 @@ We utilise [Readmegen](https://github.com/fojuth/readmegen) to automatically pop
|
||||
Install `readmegen` using `composer`:
|
||||
|
||||
```bash
|
||||
./composer.phar update
|
||||
./scripts/composer_wrapper.php install
|
||||
```
|
||||
|
||||
You can now create the update change log by running (201608 was our last release):
|
||||
|
||||
@@ -72,12 +72,11 @@ project.
|
||||
- Include its name, source URL, copyright notice, and license in `doc/General/Credits.md`
|
||||
|
||||
- To add a php dependency, please use composer
|
||||
- Add the dependency `composer require --update-no-dev slim/slim`
|
||||
- Add the files and commit `composer commit` or `git add -f vendor/ composer.json; git commit`
|
||||
- Add the dependency `composer require slim/slim`
|
||||
|
||||
- Updating php dependencies
|
||||
- Update dependencies `composer update --no-dev`
|
||||
- Add the files and commit `composer commit` or `git add -f vendor/; git commit`
|
||||
- Update dependencies `FORCE=1 php56 ./scripts/composer_wrapper.php update`
|
||||
- Commit the updated composer.lock file
|
||||
|
||||
- To add a javascript dependency
|
||||
- Where possible please include minimized libraries in the html/js/ folder.
|
||||
|
||||
Reference in New Issue
Block a user