Commit graph

221 commits

Author SHA1 Message Date
scribu
b0ba0fb964 add composer.lock 2013-02-28 20:38:01 +02:00
scribu
3fdaf07b90 add Build Status image to readme 2013-02-25 20:30:59 +02:00
scribu
bb3037e5ec running the tests: fix example mysql command 2013-02-25 18:55:16 +02:00
scribu
0af8252004 re-order lines in .travis.yml template to make them more readable 2013-02-25 18:52:28 +02:00
scribu
9007792481 quiet down svn checkout in travis script. see #270 2013-02-21 14:12:24 +02:00
scribu
16e1f8b533 remove P2P specific <filter> from phpunit.xml
see #270
2013-02-21 08:43:02 +02:00
Cristi Burcă
fced735924 Merge pull request #270 from wp-cli/plugin-tests
Generate all files needed for running plugin unit tests
2013-02-18 15:34:00 -08:00
scribu
91fbdd571e revert to using the official unit testing suite 2013-02-18 15:03:13 +02:00
scribu
4790c2fb73 add test-sample.php file 2013-02-18 12:50:35 +02:00
scribu
6051e68f89 transform add_testing_files() method into a proper subcommand 2013-02-18 12:43:19 +02:00
scribu
b7342ee133 show plugin dir, instead of path on success message, since there's more
than one generated file now
2013-02-17 22:21:58 +02:00
scribu
e837813a82 add files for plugin unit testing 2013-02-17 22:21:58 +02:00
Cristi Burcă
d4a19acfd4 Merge pull request #305 from goldenapples/post-create-from-file
Post create from file
2013-02-16 18:09:44 -08:00
Cristi Burcă
38e4887363 Merge pull request #306 from wp-cli/behat
Stop using PHPUnit Story
2013-02-16 15:12:31 -08:00
scribu
991c3dcb16 update readme 2013-02-17 01:01:09 +02:00
scribu
ed7a093295 dependencies: replace phpunit-story with behat 2013-02-16 23:23:23 +02:00
Cristi Burcă
ea7ce6ca5a Merge pull request #302 from goldenapples/system-editor
Introduce system editor function in \WP_CLI\Utils
2013-02-14 15:55:54 -08:00
Cristi Burcă
826113d482 Merge pull request #300 from wp-cli/simplify-scaffolds
Simplify parameters for `scaffold post-type` and `scaffold taxonomy`
2013-02-13 08:39:10 -08:00
scribu
216e558eec remove superfluous parameters from post and taxonomy scaffolds 2013-02-13 18:17:39 +02:00
Cristi Burcă
622a9d3955 Merge pull request #286 from wp-cli/term-command
A term command with subcommands for creating, updating, deleting and lis...
2013-02-13 07:29:17 -08:00
scribu
5726bd7b90 delete files used for generating pear packages.
see #301. closes #39
2013-02-13 02:45:05 +02:00
Cristi Burcă
3927962302 Merge pull request #301 from wp-cli/phar
Distribute as a Phar archive
2013-02-12 16:33:27 -08:00
scribu
fa83262120 allow specifying where to create the phar archive 2013-02-13 02:11:22 +02:00
scribu
512965774c first pass at creating a Phar archive 2013-02-13 00:14:24 +02:00
scribu
76cc8ae84e move /templates/ out of /php/ since it doesn't contain PHP files 2013-02-07 03:14:56 +02:00
Cristi Burcă
ebaf64aec3 Merge pull request #285 from drrobotnik/master
Added wp scaffold _s
2013-02-06 10:01:46 -08:00
Brandon Lavigne
b72660d85d added success message if remote request code is 200 2013-02-06 09:51:21 -08:00
Cristi Burcă
f744a558ca Merge pull request #289 from jmslbam/master
Scaffold filename using slug and not machinename
2013-02-06 09:24:58 -08:00
Brandon Lavigne
cef2a1bd9d fixed undefined variables 2013-02-06 09:20:46 -08:00
Jaime Martinez
3996340876 Changed filename from machinename to slug
Because `wp scaffold post-type jm-foo` scaffolds a file name jm_foo.php bacause the machinename hyphens get replaced by underscores.
Same behaviour as the plugin scaffold.

Hyphens should separate words.
2013-02-06 18:16:42 +01:00
Brandon Lavigne
d66c359e75 removed spaces in the synopsis 2013-02-05 18:06:18 -08:00
Brandon Lavigne
2694e58433 added default timeout and generic theme description from author and theme name. 2013-02-05 16:45:44 -08:00
Brandon Lavigne
78d4461491 added man-src page for scaffold _s, tidied up formatting. 2013-02-05 14:17:35 -08:00
Brandon Lavigne
14ff36b2f9 changed shell_exec to properly use wp_remote_post, unzip, and unlink the temp file 2013-02-05 12:06:43 -08:00
Brandon Lavigne
c8a1f349cb Instead of using bash unzip, using WP_CLI native theme install, with optional activate 2013-02-04 19:40:41 -08:00
Brandon Lavigne
e67558fbea Added initial version of wp scaffold _s 2013-02-02 16:04:16 -08:00
scribu
77f4a0495a check that the plugin directory exists. fixes #281 2013-01-27 17:25:30 +01:00
scribu
5401a2b432 PHP files don't need to be executable 2013-01-27 17:19:37 +01:00
scribu
c16f00c375 remove extra tab from extended scaffolds 2013-01-26 04:06:05 +01:00
scribu
540060456f scaffold plugin: made success msg consistent with other scaffolds 2013-01-26 04:03:24 +01:00
scribu
541f47a6c0 move run_command() back into the WP_CLI class 2013-01-15 15:32:47 +02:00
scribu
ecf32f0464 scaffold taxonomy: remove control args from defaults 2013-01-03 01:50:43 +02:00
scribu
7e451061c5 remove unused '<?php' from templates
was only used to get syntax highlighting, when the templates ended in
.php
2013-01-03 01:49:35 +02:00
scribu
39ca79a174 change template extensions from .php to .mustache, to avoid compatibility issues with pre-commit linters etc. 2013-01-03 01:45:00 +02:00
Cristi Burcă
3ca895c2d5 Merge pull request #269 from wp-cli/cmd-dump
Add --cmd-dump flag
2013-01-02 00:40:04 -08:00
Cristi Burcă
e1535b59c5 Merge pull request #199 from wp-cli/scaffold-plugin
Generate code for a plugin
2013-01-01 13:56:57 -08:00
scribu
22d3cd2535 always use the plugin slug for the textdomain 2013-01-01 14:55:03 +02:00
scribu
863b3863bb use create_file() for cpt and tax scaffolds 2013-01-01 14:46:05 +02:00
scribu
e1652e256d first pass at wp scaffold plugin 2013-01-01 14:29:51 +02:00
Cristi Burcă
c69a528472 Merge pull request #265 from wp-cli/scaffold-mustache
Use Mustache for scaffold templates
2013-01-01 04:19:36 -08:00