Skip to content

Commit

Permalink
Merge pull request #78 from appwrite/feat-flutter-rntime
Browse files Browse the repository at this point in the history
Feat: Add flutter
  • Loading branch information
Meldiron authored Nov 25, 2024
2 parents 7e47413 + a9e449e commit 1e43064
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 76 deletions.
149 changes: 73 additions & 76 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 21 additions & 0 deletions pint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"preset": "psr12",
"exclude": [
"./app/sdks",
"./tests/resources/functions",
"./app/console"
],
"rules": {
"array_indentation": true,
"single_import_per_statement": true,
"simplified_null_return": true,
"ordered_imports": {
"sort_algorithm": "alpha",
"imports_order": [
"const",
"class",
"function"
]
}
}
}
4 changes: 4 additions & 0 deletions src/Runtimes/Runtimes.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ public function __construct(string $version = '')
$static = new Runtime('static', 'Static', 'sh helpers/server.sh');
$static->addVersion('1', 'joseluisq/static-web-server:2.33-alpine', 'openruntimes/static:'.$this->version.'-1', [System::X86, System::ARM64]);
$this->runtimes['static'] = $static;

$flutter = new Runtime('flutter', 'Flutter', 'sh helpers/server.sh');
$flutter->addVersion('3.24', 'dart:3.5.2', 'openruntimes/flutter:'.$this->version.'-3.24', [System::X86, System::ARM64]);
$this->runtimes['flutter'] = $flutter;
}

/**
Expand Down

0 comments on commit 1e43064

Please sign in to comment.