wip
This commit is contained in:
parent
63bf55b978
commit
8b18e05fbc
25 changed files with 1042 additions and 1 deletions
69
working-without-workspace/sections/just.rst
Normal file
69
working-without-workspace/sections/just.rst
Normal file
|
@ -0,0 +1,69 @@
|
|||
.. raw:: pdf
|
||||
|
||||
PageBreak titlePage
|
||||
|
||||
.. class:: centredtitle
|
||||
|
||||
just
|
||||
|
||||
.. raw:: pdf
|
||||
|
||||
TextAnnotation "Who's used a Makefile? I have, but wasn't using a lot of the build features it has. I was using it as a task runner."
|
||||
|
||||
.. raw:: pdf
|
||||
|
||||
PageBreak standardPage
|
||||
|
||||
justfile
|
||||
========
|
||||
|
||||
.. code-block:: make
|
||||
|
||||
default:
|
||||
@just --list
|
||||
|
||||
_exec +args:
|
||||
docker compose exec {{ args }}
|
||||
|
||||
# Run Composer
|
||||
composer *args:
|
||||
just _exec php composer {{ args }}
|
||||
|
||||
# Run Drush commands
|
||||
drush *args:
|
||||
just _exec php drush {{ args }}
|
||||
|
||||
# Install Drupal
|
||||
install *args:
|
||||
just drush site:install -y {{ args }}
|
||||
|
||||
# Run Artisan commands (Laravel)
|
||||
artisan *args:
|
||||
docker compose run \
|
||||
--entrypoint php \
|
||||
--rm \
|
||||
--tty \
|
||||
php artisan {{ args }}
|
||||
|
||||
.. raw:: pdf
|
||||
|
||||
PageBreak titlePage
|
||||
|
||||
.. class:: centredtitle
|
||||
|
||||
``just composer require
|
||||
drupal/override_node_options``
|
||||
|
||||
.. raw:: pdf
|
||||
|
||||
PageBreak
|
||||
|
||||
.. class:: centredtitle
|
||||
|
||||
``just drush cache-rebuild``
|
||||
|
||||
|
|
||||
|
||||
.. class:: centredtitle
|
||||
|
||||
``just install localgov``
|
Loading…
Add table
Add a link
Reference in a new issue