Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Drupal 8 Scaffold Developer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Composer
plugin
Drupal 8 Scaffold Developer
Commits
235d54a1
Commit
235d54a1
authored
6 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Produce a .gitkeep file in custom directories
Change the development image to L3D
parent
3188a11f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ahoy.yml
+2
-2
2 additions, 2 deletions
ahoy.yml
src/Handler.php
+3
-0
3 additions, 0 deletions
src/Handler.php
with
5 additions
and
2 deletions
ahoy.yml
+
2
−
2
View file @
235d54a1
ahoyapi
:
v2
ahoyapi
:
v2
commands
:
commands
:
exec
:
exec
:
cmd
:
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v ${PWD}:/drupal -v $SSH_AUTH_SOCK:/ssh-agent -v ${HOME}/.traefik:/root/.traefik -e SSH_AUTH_SOCK=/ssh-agent -w /drupal registry.lakedrops.com/docker/
gitlab-drupal-ci
"$@"
cmd
:
docker run -it -v /var/run/docker.sock:/var/run/docker.sock -v ${PWD}:/drupal -v $SSH_AUTH_SOCK:/ssh-agent -v ${HOME}/.traefik:/root/.traefik -e SSH_AUTH_SOCK=/ssh-agent -w /drupal registry.lakedrops.com/docker/
l3d
"$@"
hide
:
true
hide
:
true
up
:
up
:
cmd
:
ahoy dev exec /usr/bin/fish
cmd
:
ahoy dev exec /usr/bin/fish
usage
:
Start container with all development tools
usage
:
Start container with all development tools
update
:
update
:
cmd
:
docker pull registry.lakedrops.com/docker/
gitlab-drupal-ci
cmd
:
docker pull registry.lakedrops.com/docker/
l3d
usage
:
Update image with the latest development tools
usage
:
Update image with the latest development tools
scaffold
:
scaffold
:
cmd
:
ahoy dev exec composer lakedrops:scaffold
cmd
:
ahoy dev exec composer lakedrops:scaffold
...
...
This diff is collapsed.
Click to expand it.
src/Handler.php
+
3
−
0
View file @
235d54a1
...
@@ -55,6 +55,9 @@ class Handler extends BaseHandler {
...
@@ -55,6 +55,9 @@ class Handler extends BaseHandler {
if
(
!
$fs
->
exists
(
$path
))
{
if
(
!
$fs
->
exists
(
$path
))
{
$fs
->
mkdir
(
$path
,
0775
);
$fs
->
mkdir
(
$path
,
0775
);
}
}
if
(
!
$fs
->
exists
(
$path
.
'/.gitkeep'
))
{
$fs
->
touch
(
$path
.
'/.gitkeep'
);
}
if
(
$options
[
'chg-acl'
])
{
if
(
$options
[
'chg-acl'
])
{
$fs
->
chgrp
(
$path
,
$options
[
'webserver-groupname'
],
TRUE
);
$fs
->
chgrp
(
$path
,
$options
[
'webserver-groupname'
],
TRUE
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment