Skip to content

Commit 1e43064

Browse files
authored
Merge pull request #78 from appwrite/feat-flutter-rntime
Feat: Add flutter
2 parents 7e47413 + a9e449e commit 1e43064

File tree

3 files changed

+98
-76
lines changed

3 files changed

+98
-76
lines changed

composer.lock

+73-76
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pint.json

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"preset": "psr12",
3+
"exclude": [
4+
"./app/sdks",
5+
"./tests/resources/functions",
6+
"./app/console"
7+
],
8+
"rules": {
9+
"array_indentation": true,
10+
"single_import_per_statement": true,
11+
"simplified_null_return": true,
12+
"ordered_imports": {
13+
"sort_algorithm": "alpha",
14+
"imports_order": [
15+
"const",
16+
"class",
17+
"function"
18+
]
19+
}
20+
}
21+
}

src/Runtimes/Runtimes.php

+4
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ public function __construct(string $version = '')
122122
$static = new Runtime('static', 'Static', 'sh helpers/server.sh');
123123
$static->addVersion('1', 'joseluisq/static-web-server:2.33-alpine', 'openruntimes/static:'.$this->version.'-1', [System::X86, System::ARM64]);
124124
$this->runtimes['static'] = $static;
125+
126+
$flutter = new Runtime('flutter', 'Flutter', 'sh helpers/server.sh');
127+
$flutter->addVersion('3.24', 'dart:3.5.2', 'openruntimes/flutter:'.$this->version.'-3.24', [System::X86, System::ARM64]);
128+
$this->runtimes['flutter'] = $flutter;
125129
}
126130

127131
/**

0 commit comments

Comments
 (0)