Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17580
| From | "J.O. Aho" <user@example.net> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: composer: ignore folders |
| Date | 2017-09-12 19:08 +0200 |
| Message-ID | <f1qil2FrkhkU1@mid.individual.net> (permalink) |
| References | <op8v3l$ehd$1@gioia.aioe.org> |
On 09/12/17 17:39, Simonex wrote: First I have to say I fail to see your PHP related question > $ cat .gitattributes > docs/ export-ignore > tests/ export-ignore > > $ composer --prefer-dist require root/ignore_paths > ... > > $ ls -l vendor/root/ignore_paths/ > totale 5 > -rwxrwxrwx 1 root root 67 set 8 17:35 composer.json > drwxrwxrwx 1 root root 4096 set 8 17:13 docs > drwxrwxrwx 1 root root 0 set 8 17:13 src > drwxrwxrwx 1 root root 0 set 8 17:13 tests > > Because DOCS and TEST not ignored? composer ain't part of git, so the .gitattributes do not affect what composer does. The export-igoner is used by git when it creates an archive file of the content, it will not include docs and tests directories in the archive file. Test "git archive" -- //Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
composer: ignore folders Simonex <simo@sumo.it> - 2017-09-12 17:39 +0200
Re: composer: ignore folders "J.O. Aho" <user@example.net> - 2017-09-12 19:08 +0200
Re: composer: ignore folders Simonex <simo@sumo.it> - 2017-09-12 19:32 +0200
Re: composer: ignore folders Jerry Stuckle <jstucklex@attglobal.net> - 2017-09-12 21:22 -0400
csiph-web