diff options
author | Daniel Weipert <code@drogueronin.de> | 2021-03-08 13:12:51 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2021-03-08 13:18:07 +0100 |
commit | be8749fdb920a50fa3fb585640c7e7f3c0b30361 (patch) | |
tree | 0da55481c4121b5f52b4ca82c49fceee499f4dfa | |
parent | fd47ade349c8d962d14bc42e3c36f1477fd3a4f5 (diff) |
Fix post-create-project-cmd
-rw-r--r-- | composer.json | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/composer.json b/composer.json index cca75b0..4b4febe 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "dweipert/wp-boilerplate", "type": "project", "license": "GPL-2.0-or-later", - "version": "1.0.0", + "version": "1.0.1", "authors": [ { "name": "Daniel Weipert", @@ -15,10 +15,11 @@ "roots/wp-password-bcrypt": "^1.0", "wp-cli/wp-cli-bundle": "*" }, + "require-dev": {}, "scripts": { "post-create-project-cmd": [ "@php -r \"file_exists('wp-config.php') || copy('wp-config.example.php', 'wp-config.php');\"", - "@php -r \"copy('public/wp/wp-content', 'public/wp-content')\"", + "@php -r \"rename('public/wp/wp-content', 'public/wp-content');\"", "wp config shuffle-salts" ], "post-install-cmd": [ |