Fix sake path relative to vendor

This commit is contained in:
Ingo Schommer 2017-10-04 08:26:10 +01:00
parent 68d99c579f
commit 924e2a714f
2 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@ has been added to assist in migration of legacy files.
You can run this task on the command line:
```
$ ./framework/sake dev/tasks/MigrateFileTask
$ ./vendor/silverstripe/framework/sake dev/tasks/MigrateFileTask
```
This task will also support migration of existing File DataObjects to file versioning. Any

View File

@ -11,7 +11,7 @@ For example, to run a database rebuild from the command line, use this command:
```bash
cd your-webroot/
php vendor/bin/framework/cli-script.php dev/build
php vendor/silverstripe/framework/cli-script.php dev/build
```
<div class="notice">
@ -32,10 +32,10 @@ when running the command php -v, then you may not have php-cli installed so sake
### Installation
`sake` can be invoked using `./framework/sake`. For easier access, copy the `sake` file into `/usr/bin/sake`.
`sake` can be invoked using `./vendor/silverstripe/framework/sake`. For easier access, copy the `sake` file into `/usr/bin/sake`.
```
cd your-webroot/
sudo ./framework/sake installsake
sudo ./vendor/silverstripe/framework/sake installsake
```
<div class="warning">
This currently only works on UNIX like systems, not on Windows.
@ -139,7 +139,7 @@ Parameters can be added to the command. All parameters will be available in `$_G
```bash
cd your-webroot/
php framework/cli-script.php myurl myparam=1 myotherparam=2
php vendor/silverstripe/framework/cli-script.php myurl myparam=1 myotherparam=2
```
Or if you're using `sake`