-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2c0f624
Showing
5 changed files
with
101 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Drupal editor configuration normalization | ||
# @see http://editorconfig.org/ | ||
|
||
# This is the top-most .editorconfig file; do not search in parent directories. | ||
root = true | ||
|
||
# All files. | ||
[*] | ||
end_of_line = LF | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[composer.{json,lock}] | ||
indent_size = 4 | ||
|
||
[{Makefile,**.mk}] | ||
# Use tabs for indentation (Makefiles require tabs) | ||
indent_style = tab | ||
|
||
; YAML format, 4 spaces | ||
[*.yaml, *.yml] | ||
indent_style = space | ||
indent_size = 4 | ||
max_line_length = 160 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# druidfi/omen [Work in Progress] | ||
|
||
Drupal ENV detector. Detects env related configuration and sets them for you. Helps with moving sites from environment | ||
to another. Aims also to generalize your env configuration. | ||
|
||
You should just focus on your project specific configuration. | ||
|
||
## How to use | ||
|
||
Require omen in your composer.json: | ||
|
||
``` | ||
$ composer require druidfi/omen:^1.0 | ||
``` | ||
|
||
## Known environments | ||
|
||
- [Amazee.io Lagoon](https:) | ||
- [Amazee.io Legacy](https:) | ||
- [Wodby](https://Wodby) | ||
|
||
## TODO | ||
|
||
Add support for: | ||
|
||
- Lando | ||
- Drupal VM | ||
- Other dev tools and environments | ||
|
||
## Where the name "Omen" comes from? | ||
|
||
Druids interpreted the waves of the ocean or read clouds for mundane or important omens. So `reading clouds` is | ||
basically what `druidfi/omen` is doing. | ||
|
||
## Other information | ||
|
||
This project is found from the Packagist: https://packagist.org/packages/druidfi/omen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{ | ||
"name": "druidfi/omen", | ||
"type": "library", | ||
"description": "", | ||
"minimum-stability": "dev", | ||
"license": "MIT", | ||
"authors": [ | ||
{ | ||
"name": "Druid.fi", | ||
"email": "[email protected]" | ||
} | ||
], | ||
"autoload": { | ||
"psr-4": { | ||
"Druidfi\\Omen\\": "src/" | ||
} | ||
}, | ||
"require": { | ||
"php": "^7.1" | ||
}, | ||
"require-dev": { | ||
"friendsofphp/php-cs-fixer": "@stable" | ||
}, | ||
"conflict": { | ||
"drupal/core": "8.*", | ||
"drupal/drupal": "<7.65" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?php | ||
|
||
namespace Druidfi; | ||
|
||
class DrupalEnvDetector | ||
{ | ||
|
||
} |