refactor: Rename src to packages

This commit is contained in:
2022-09-01 13:39:12 +02:00
parent a280146258
commit 7f5fd68789
93 changed files with 0 additions and 0 deletions

30
packages/moxplatform_linux/.gitignore vendored Normal file
View File

@@ -0,0 +1,30 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
# Flutter/Dart/Pub related
# Libraries should not include pubspec.lock, per https://dart.dev/guides/libraries/private-files#pubspeclock.
/pubspec.lock
**/doc/api/
.dart_tool/
.packages
build/

View File

@@ -0,0 +1,10 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.
version:
revision: 13a2fb10b838971ce211230f8ffdd094c14af02c
channel: beta
project_type: package

View File

@@ -0,0 +1,3 @@
## 0.0.1
* TODO: Describe initial release.

View File

@@ -0,0 +1 @@
TODO: Add your license here.

View File

@@ -0,0 +1,4 @@
include: package:flutter_lints/flutter.yaml
# Additional information about this file can be found at
# https://dart.dev/guides/language/analysis-options

View File

@@ -0,0 +1,13 @@
import "package:moxplatform_generic/isolate_generic.dart";
import "package:moxplatform_platform_interface/moxplatform_platform_interface.dart";
class MoxplatformLinuxPlugin extends MoxplatformInterface {
static void registerWith() {
print("MoxplatformLinuxPlugin: Registering implementation");
MoxplatformInterface.handler = GenericIsolateHandler();
}
@override
Future<String> getPlatformName() async => "Linux";
}

View File

@@ -0,0 +1,32 @@
name: moxplatform_linux
description: Linux-specific implementation of moxplatform
version: 0.1.11
homepage: https://codeberg.org/moxxy/moxplatform
environment:
sdk: ">=2.17.0-266.1.beta <3.0.0"
flutter: ">=1.17.0"
dependencies:
flutter:
sdk: flutter
moxplatform:
path: ../moxplatform
#hosted: https://git.polynom.me/api/packages/Moxxy/pub
#version: 0.1.11
moxplatform_generic:
path: ../moxplatform_generic
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
flutter:
plugin:
implements: moxplatform
platforms:
linux:
dartPluginClass: MoxplatformLinuxPlugin