shipit-cli 0.11.1__py3-none-any.whl → 0.11.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- shipit/assets/wordpress/install.sh +4 -0
- shipit/assets/wordpress/wp-config.php +4 -2
- shipit/cli.py +1 -1
- shipit/providers/wordpress.py +1 -1
- shipit/version.py +2 -2
- {shipit_cli-0.11.1.dist-info → shipit_cli-0.11.3.dist-info}/METADATA +1 -1
- {shipit_cli-0.11.1.dist-info → shipit_cli-0.11.3.dist-info}/RECORD +9 -9
- {shipit_cli-0.11.1.dist-info → shipit_cli-0.11.3.dist-info}/WHEEL +0 -0
- {shipit_cli-0.11.1.dist-info → shipit_cli-0.11.3.dist-info}/entry_points.txt +0 -0
|
@@ -21,10 +21,12 @@ define( 'WP_AUTO_UPDATE_CORE', false); // Disable automatic aupdates and checks
|
|
|
21
21
|
* @package WordPress
|
|
22
22
|
*/
|
|
23
23
|
|
|
24
|
+
|
|
24
25
|
function get_env_var(string $name, string $default = ''): string
|
|
25
26
|
{
|
|
26
|
-
|
|
27
|
-
|
|
27
|
+
$value = getenv($name);
|
|
28
|
+
if ($value !== false) {
|
|
29
|
+
return $value;
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
if ($default === '') {
|
shipit/cli.py
CHANGED
|
@@ -1610,7 +1610,7 @@ def generate(
|
|
|
1610
1610
|
context_settings={"allow_extra_args": True, "ignore_unknown_options": True},
|
|
1611
1611
|
)
|
|
1612
1612
|
def _default(ctx: typer.Context) -> None:
|
|
1613
|
-
if ctx.invoked_subcommand
|
|
1613
|
+
if ctx.invoked_subcommand in ["auto", "generate", "build", "serve", "deploy", None]:
|
|
1614
1614
|
print_help()
|
|
1615
1615
|
|
|
1616
1616
|
|
shipit/providers/wordpress.py
CHANGED
|
@@ -81,7 +81,7 @@ class WordPressProvider(PhpProvider):
|
|
|
81
81
|
def commands(self) -> Dict[str, str]:
|
|
82
82
|
commands = super().commands()
|
|
83
83
|
return {
|
|
84
|
-
"wp": '"php {}/wp-cli.phar --allow-root --path={}".format(assets["serve"], app["serve"])',
|
|
84
|
+
# "wp": '"php {}/wp-cli.phar --allow-root --path={}".format(assets["serve"], app["serve"])',
|
|
85
85
|
"after_deploy": '"bash {}/setup-wp.sh".format(assets["serve"])',
|
|
86
86
|
**commands,
|
|
87
87
|
}
|
shipit/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: shipit-cli
|
|
3
|
-
Version: 0.11.
|
|
3
|
+
Version: 0.11.3
|
|
4
4
|
Summary: Shipit CLI is the best way to build, serve and deploy your projects anywhere.
|
|
5
5
|
Project-URL: homepage, https://wasmer.io
|
|
6
6
|
Project-URL: repository, https://github.com/wasmerio/shipit
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
shipit/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
shipit/cli.py,sha256=
|
|
2
|
+
shipit/cli.py,sha256=42hYw9ufbuv-P_ARbc6P4e1ZNWROud5EgEgcCLp5wuw,66042
|
|
3
3
|
shipit/generator.py,sha256=yMVohLROnW15VwHGVZDG93hkCB6rzLzhJtEdL9Bt5ew,7160
|
|
4
4
|
shipit/procfile.py,sha256=GlfdwzFUr0GWGKaaiXlLKNFInWaRNMy_wN14UEyU_5Q,2974
|
|
5
|
-
shipit/version.py,sha256=
|
|
5
|
+
shipit/version.py,sha256=g-9YJlXRdBG-PspDjNBFIFRhUnHyC0_3raNy_xuBdv0,97
|
|
6
6
|
shipit/assets/php/php.ini,sha256=SaR3wvssSROtxTY_CQ5-BspM_47_I971V5X2dsqe8sU,2579
|
|
7
|
-
shipit/assets/wordpress/install.sh,sha256=
|
|
8
|
-
shipit/assets/wordpress/wp-config.php,sha256=
|
|
7
|
+
shipit/assets/wordpress/install.sh,sha256=5doHwHE3oFQPS8qxpKIHP5uUKdqmcgfldKYM06mEiZk,2568
|
|
8
|
+
shipit/assets/wordpress/wp-config.php,sha256=q7KHB_TyLrodXzbg8EEPm42XWDIevtwL6wk3L0kbVrs,4809
|
|
9
9
|
shipit/providers/base.py,sha256=yzGukQMA5GIzyqEQbexhw_M5_84TD8gFpAO5blYPZ3A,2769
|
|
10
10
|
shipit/providers/hugo.py,sha256=ZMG54hbtdrTem-YUg9gp75Qu-pd1XzhaoNYOihU7HOg,1872
|
|
11
11
|
shipit/providers/laravel.py,sha256=v7xDNipE72CDCZtzkpmpHktBp5n2kmgduSYTmmKjo2Y,3098
|
|
@@ -15,8 +15,8 @@ shipit/providers/php.py,sha256=pxE3piJM8dYSH-teS1EGogSXRLC-oK24ITIQQwpIC-U,4413
|
|
|
15
15
|
shipit/providers/python.py,sha256=5IdClORLq3d-iPxIi5YjDEOsX2a3H9Oqs9XbWQcdg3Y,21204
|
|
16
16
|
shipit/providers/registry.py,sha256=KBgMCwRZEFECdMpIoMn6ytL-FLc_NkTTdtHgVbHx5Jc,670
|
|
17
17
|
shipit/providers/staticfile.py,sha256=Zpt7s-R17Fow-f4ObXfCRDiLEM8gHp8dC7hyi2DUV6o,2802
|
|
18
|
-
shipit/providers/wordpress.py,sha256=
|
|
19
|
-
shipit_cli-0.11.
|
|
20
|
-
shipit_cli-0.11.
|
|
21
|
-
shipit_cli-0.11.
|
|
22
|
-
shipit_cli-0.11.
|
|
18
|
+
shipit/providers/wordpress.py,sha256=W8eOOG6hnZLzLe5mLSY6n_8nCCSSdcSv17rTjbXX0C8,3295
|
|
19
|
+
shipit_cli-0.11.3.dist-info/METADATA,sha256=AmCkga3EdGWW8Ch9XBjH9yXDMQeqGVXb0bFrxc-6UKE,616
|
|
20
|
+
shipit_cli-0.11.3.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
21
|
+
shipit_cli-0.11.3.dist-info/entry_points.txt,sha256=7AE1NjSrHaSDfbfsRRO50KKnHFTbB0Imsccd1WynzAQ,72
|
|
22
|
+
shipit_cli-0.11.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|