-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the commit before this was mentioned as better solution and it required less work than expected. We now track the file and create it as the normal user and because it exists we don't recreate it in the install-domserver step as root (assuming it runs with `sudo`). It will still create it if it doesn't exist as domserver is a dependency for install-domserver (and in that case `composer` would run as root again, so prompting the user to accept this risk). I did not check if we can do the same for the development dependencies or what this means for the `inplace` targets.
- Loading branch information
Showing
3 changed files
with
19 additions
and
10 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
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
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,12 @@ | ||
ifndef TOPDIR | ||
TOPDIR=../.. | ||
endif | ||
include $(TOPDIR)/Makefile.global | ||
|
||
clean-l: | ||
rm -f autoload_runtime.php | ||
|
||
autoload_runtime.php: | ||
composer $(subst 1,-q,$(QUIET)) dump-autoload -o -a -d $(TOPDIR) | ||
|
||
domserver: autoload_runtime.php |