Skip to content

Commit 2bc5245

Browse files
committed
Merge branch 'master' of https://github.com/appwrite/sdk-generator into feat-na-appwrite-cli
2 parents 13406be + 9ca5a3f commit 2bc5245

File tree

12 files changed

+516
-235
lines changed

12 files changed

+516
-235
lines changed

CONTRIBUTING.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@ To install a working development environment follow these instructions:
1616

1717
**Composer CLI**
1818
```bash
19-
composer update --ignore-platform-reqs --optimize-autoloader
19+
composer update --ignore-platform-reqs --optimize-autoloader --no-plugins --no-scripts --prefer-dist
2020
```
2121

2222
**Docker (UNIX)**
2323

2424
```bash
25-
docker run --rm --interactive --tty --volume "$(pwd)":/app composer install
25+
docker run --rm --interactive --tty --volume "$(pwd)":/app composer update --ignore-platform-reqs --optimize-autoloader --no-plugins --no-scripts --prefer-dist
2626
```
2727

2828
**Docker (Windows)**
2929

3030
```bash
31-
docker run --rm --interactive --tty --volume "%cd%":/app composer install
31+
docker run --rm --interactive --tty --volume "%cd%":/app composer update --ignore-platform-reqs --optimize-autoloader --no-plugins --no-scripts --prefer-dist
3232
```
3333

3434
3. Follow our contribution guide to learn how you can add support for more languages.
@@ -200,5 +200,5 @@ protected $containers = [
200200

201201
Finally, you can run the tests using
202202
```sh
203-
$ docker run --rm -v $(pwd):/app -w /app php:7.4-cli vendor/bin/phpunit tests/SDKTest.php
203+
docker run --rm -v $(pwd):/app:rw -w /app -v /var/run/docker.sock:/var/run/docker.sock php:7.4-cli-alpine sh -c "apk add docker-cli && vendor/bin/phpunit tests/SDKTest.php"
204204
```

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Appwrite SDK Generator
1+
# ⚙️ Appwrite SDK Generator
22

33
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
44
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
@@ -106,6 +106,7 @@ $sdk->generate(__DIR__ . '/examples/php'); // Generate source code
106106
| D | | | ? | [You?](https://github.com/appwrite/sdk-generator/issues/20) |
107107
| Kotlin | | | ? | [You?](https://github.com/appwrite/sdk-generator/issues/20) |
108108
| Swift | | | Swift Pkg Manager | [@armino-dev] |
109+
| Docker CLI | | | Docker Hub | [@christyjacob4] |
109110

110111
[@Almoullim]: https://github.com/Almoullim
111112
[@eldadfux]: https://github.com/eldadfux
@@ -114,7 +115,8 @@ $sdk->generate(__DIR__ . '/examples/php'); // Generate source code
114115
[@bartektartanus]: https://github.com/bartektartanus
115116
[@komemi]: https://github.com/komemi
116117
[@TorstenDittmann]: https://github.com/TorstenDittmann
117-
[@lohanidamodar]: https://github.com/lohanidamodar
118+
[@lohanidamodar]: https://github.com/lohanidamodar
119+
[@christyjacob4]: https://github.com/christyjacob4
118120

119121
[PHP FIG]: https://www.php-fig.org/
120122
[NPM Coding Style]: https://docs.npmjs.com/misc/coding-style

0 commit comments

Comments
 (0)