Commit graph

29 commits

Author SHA1 Message Date
jrfnl
20703e193e .gitignore/.distignore: ignore phpcs/phpunit config files
* `.distignore`: no need to distribute the phpcs/phpunit config files.
* `.gitignore`: Allow devs to overwrite config files for PHPUnit and PHPCS
    - The `.dist` files should be committed. However, for their personal use, devs can overrule those files with versions without `.dist`.
        Those personal versions should never be committed.

As a side-note: for PHPCS, having a personal version while still using the original `.dist` file is made very easy, as you can just import the `.dist` file as a starting point, like so:
```xml
<?xml version="1.0"?>
<ruleset name="WP-CLI">
    <rule ref="./phpcs.xml.dist"/>
</ruleset>
```
2019-04-19 15:56:57 +02:00
Alain Schlesser
09d7983ca9 Ignore log files 2018-09-13 18:39:20 +02:00
miya0001
b203353e59 ignore composer.lock 2017-08-08 18:18:11 +09:00
Daniel Bachhuber
ec460e482d Update package with latest scaffolded components 2017-08-02 10:17:05 -07:00
Daniel Bachhuber
a931d02c13 Remove files unrelated to wp scaffold * 2017-04-12 04:46:58 -07:00
Daniel Bachhuber
2633b05692 Revert "Remove WP-CLI files unrelated to wp package *"
This reverts commit 749466f581.
2017-03-10 12:57:05 -08:00
Daniel Bachhuber
6dd6c18ab6 Remove WP-CLI files unrelated to wp package * 2017-03-10 12:55:15 -08:00
miya0001
77cc004a6e remove PHP_Codesniffer-VariableAnalysis 2016-12-29 20:30:00 +09:00
miya0001
850f57c98b add /codesniffer to .gitignore 2016-12-29 20:21:29 +09:00
Daniel Bachhuber
319163eb26 Ignore .DS_Store from git 2016-11-02 10:29:37 -07:00
Daniel Bachhuber
e7dc41382f PHAR_BUILD_VERSION shouldn't ever be committed to this repo
[ci skip]
2016-03-07 16:00:16 -08:00
Daniel Bachhuber
df24e255e8 Introduce wp package for managing WP-CLI community commands
Use `wp package browse` to view all available community commands.
Install a specific command with `wp package install
<namespace/package-name>`. List all installed packages with `wp
package list`. Or, uninstall a package with `wp package uninstall`

Packages are installed to their own Composer project in
`~/.wp-cli/packages`. This can be changed by setting a
`WP_CLI_PACKAGES_DIR` environment variable.
2016-02-03 07:48:10 -08:00
Greg Anderson
15c9a333b4 Commit composer.lock to repository. 2015-12-09 09:30:58 -08:00
Ian Dunn
f0b266843c Add .dist extension to PHPUnit configuration file in plugin-tests.
Naming the file `phpunit.xml.dist` instead of `phpunit.xml` is considered a best practice because it allows other developers working on a project to override the configuration without messing with extra command line parameters or dirtying their local version control state.

See http://www.testically.org/2010/08/24/best-practice-how-to-ship-phpunit-configuration/
2015-12-01 10:09:44 -08:00
Daniel Bachhuber
d8208d3d15 Ignore WP-CLI's cache directory when installed to ~/.wp-cli
Related fc0170b54d
2014-08-10 12:42:30 -07:00
Daniel Bachhuber
1a3ef257ad Ignore config.yml, which means developer has cloned into ~/.wp-cli 2014-08-03 07:31:27 -04:00
scribu
ca440d8f16 update utils/dev-build 2013-08-12 23:49:16 +03:00
scribu
4b146cb824 ignore composer.lock
Facts:

1. When WP-CLI isn't installed as the root package, composer.lock is
ignored.

2. The wp-cli.org installer doesn't install WP-CLI as the root package,
but as a dependency.

1. + 2. => Having composer.lock under version control gives a false
sense of security. Instead, we should take more care with how we define
dependencies in composer.json
2013-06-23 14:45:47 +03:00
Daniel Bachhuber
ca15d44e0b Ignore composer.phar, as it's installed separately from the project 2013-04-18 18:24:58 -07:00
scribu
b0ba0fb964 add composer.lock 2013-02-28 20:38:01 +02:00
scribu
5726bd7b90 delete files used for generating pear packages.
see #301. closes #39
2013-02-13 02:45:05 +02:00
scribu
2383656b3e move phpunit.xml to the root dir 2012-12-29 17:41:49 +02:00
scribu
5cdeb4297a fix pear-build 2012-12-24 16:43:02 +02:00
Michael Williamson
ac7e67b651 Add dev dependency on phpunit 2012-12-13 10:30:31 +00:00
scribu
93197f6d93 only ignore files generated by build-pear 2012-03-10 16:04:59 +02:00
scribu
dcde88e194 add pear package files 2011-11-06 03:18:32 +02:00
scribu
ad7758378c remove .gitignore; use your personal .gitignore file for excluding temporary files 2011-10-09 03:33:01 +03:00
Andreas Creten
fd60ae1cd9 Edited gitignore, struggling with submodules 2011-09-10 15:43:59 +02:00
Andreas Creten
cd08e39912 Documentation and command line tools
- Documented all functions and classes - Added php-cli-tools to interact
with the cli
2011-09-10 14:51:26 +02:00