Skip to content

Commit efb3bc6

Browse files
committed
Change project short name
1 parent 0fe158b commit efb3bc6

File tree

11 files changed

+18
-16
lines changed

11 files changed

+18
-16
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Install
44
===========
55
1. `git clone` your contrib module
66
2. [Add DDEV to your contrib project](https://ddev.readthedocs.io/en/latest/users/project/) if not already added.
7-
3. Run `ddev get weitzman/ddev-drupal-gitlabci`.
7+
3. Run `ddev get weitzman/ddev-drupal-contrib`.
88

99
Commands
1010
============
1111
This project provides the following DDEV container commands.
1212

13-
- [ddev expand-composer-json](https://github.com/weitzman/ddev-drupal-gitlabci/blob/main/commands/web/expand-composer-json). This edits composer.json so that `drupal/core-recommended` becomes a dev dependency. After this runs you may want to run `ddev composer install`
14-
- [ddev symlink-project](https://github.com/weitzman/ddev-drupal-gitlabci/blob/main/commands/web/symlink-project). This symlinks the top level files of your project into web/moduels/custom so that Drupal finds your module. This command runs automatically on every `ddev start`. See image below.
13+
- [ddev expand-composer-json](https://github.com/weitzman/ddev-drupal-contrib/blob/main/commands/web/expand-composer-json). This edits composer.json so that `drupal/core-recommended` becomes a dev dependency. After this runs you may want to run `ddev composer install`
14+
- [ddev symlink-project](https://github.com/weitzman/ddev-drupal-contrib/blob/main/commands/web/symlink-project). This symlinks the top level files of your project into web/moduels/custom so that Drupal finds your module. This command runs automatically on every `ddev start`. See image below.
1515
- `ddev phpunit`. Run phpunit tests on the web/modules/custom directory.
1616
- `ddev nightwatch`. Run nightwatch tests on the web/modules/custom directory.
1717
- `ddev phpcs`. Run phpcs on the web/modules/custom directory.

commands/web/eslint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
#ddev-generated
4-
## Command provided by https://github.com/weitzman/ddev-drupal-gitlabci
4+
## Command provided by https://github.com/weitzman/ddev-drupal-contrib
55
## Description: Run eslint inside the web container
66
## Usage: eslint [flags] [args]
77
## Example: "ddev eslint"

commands/web/expand-composer-json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
#ddev-generated
4-
## Command provided by https://github.com/weitzman/ddev-drupal-gitlabci
4+
## Command provided by https://github.com/weitzman/ddev-drupal-contrib
55
## Description: Add Drupal core and other needed dependencies.
66
## Usage: expand-composer-json [flags] [PROJECT_NAME]
77
## Example: "ddev expand-composer-json ctools"

commands/web/nightwatch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
#ddev-generated
4-
## Command provided by https://github.com/weitzman/ddev-drupal-gitlabci
4+
## Command provided by https://github.com/weitzman/ddev-drupal-contrib
55
## Description: Run nightwatch inside the web container
66
## Usage: nightwatch [flags] [args]
77
## Example: "ddev nightwatch"

commands/web/phpcs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
#ddev-generated
4-
## Command provided by https://github.com/weitzman/ddev-drupal-gitlabci
4+
## Command provided by https://github.com/weitzman/ddev-drupal-contrib
55
## Description: Run phpcs inside the web container
66
## Usage: phpcs [flags] [args]
77
## Example: "ddev phpcs" or "ddev phpcs -n"

commands/web/phpunit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
#ddev-generated
4-
## Command provided by https://github.com/weitzman/ddev-drupal-gitlabci
4+
## Command provided by https://github.com/weitzman/ddev-drupal-contrib
55
## Description: Run phpunit inside the web container
66
## Usage: phpunit [flags] [args]
77
## Example: "ddev phpunit" or "ddev phpunit --stop-on-failure"

commands/web/stylelint

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
#ddev-generated
4-
## Command provided by https://github.com/weitzman/ddev-drupal-gitlabci
4+
## Command provided by https://github.com/weitzman/ddev-drupal-contrib
55
## Description: Run stylelint inside the web container
66
## Usage: stylelint [flags] [args]
77
## Example: "ddev stylelint"

commands/web/symlink-project

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
#ddev-generated
4-
## Command provided by https://github.com/weitzman/ddev-drupal-gitlabci
4+
## Command provided by https://github.com/weitzman/ddev-drupal-contrib
55
## Description: Symlink all root files/dirs into web.modules/custom/[PROJECT_NAME]
66
## Usage: symlink-project [flags] [args]
77
## Example: "ddev symlink-project"

config.contrib.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#ddev-generated
2+
## Command provided by https://github.com/weitzman/ddev-drupal-contrib
3+
hooks:
4+
post-start:
5+
- exec-host: "[[ -f vendor/autoload.php ]] && ddev symlink-project"
6+
# pre-composer:
7+
# - exec-host: "[[ -f composer.contrib.json ]] && exit 'composer.contrib.json file not found. please run 'ddev expand-composer-json' and then rerun 'ddev composer'"

config.gitlabci.yaml

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)