Skip to content

Commit 382485e

Browse files
authored
Merge pull request #1359 from phpDocumentor/task/docs-build-non-root
[TASK] Stop `make docs` output from being root-owned and untracked
2 parents 2f152ae + 90837a9 commit 382485e

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@
22
/.cache
33
/**/temp
44
/output/
5+
/build/
6+
/.phpdoc/

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PHP_BIN = docker run -it --rm --user $$(id -u):$$(id -g) -v${PWD}:/opt/project -w /opt/project php:8.4-cli php -d memory_limit=1024M
2-
PHP_DOC = docker run --rm -v ${PWD}:/data -w /data phpdoc/phpdoc:3-unstable
2+
PHP_DOC = docker run --rm --user $$(id -u):$$(id -g) -v ${PWD}:/data -w /data phpdoc/phpdoc:3-unstable
33

44
.PHONY: help
55
help: ## Displays this list of targets with descriptions

0 commit comments

Comments
 (0)