diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index be09973..d6c2a5e 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -1,4 +1,4 @@ -name: Docs +name: Build docs with Simulate for Web on: workflow_dispatch: jobs: @@ -11,6 +11,11 @@ jobs: with: python-version: '3.7' architecture: 'x64' + - uses: subosito/flutter-action@v1 + with: + channel: 'stable' + - run: flutter pub get + - run: flutter build web --release - name: Install dependencies run: | python3 -m pip install --upgrade pip @@ -26,6 +31,5 @@ jobs: run: mkdocs build - name: Add latest web build and deploy run: | - git clone -b web https://github.com/cod-ed/simulate web - mv web/web/ site/ + mv build/web/ site/ mkdocs gh-deploy --dirty diff --git a/ios/Flutter/flutter_export_environment.sh b/ios/Flutter/flutter_export_environment.sh deleted file mode 100755 index e1ff3ff..0000000 --- a/ios/Flutter/flutter_export_environment.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh -# This is a generated file; do not edit or check into version control. -export "FLUTTER_ROOT=C:\Development\flutter" -export "FLUTTER_APPLICATION_PATH=C:\Users\yashl\Main\Projects\simulate" -export "FLUTTER_TARGET=lib\main.dart" -export "FLUTTER_BUILD_DIR=build" -export "SYMROOT=${SOURCE_ROOT}/../build\ios" -export "OTHER_LDFLAGS=$(inherited) -framework Flutter" -export "FLUTTER_FRAMEWORK_DIR=C:\Development\flutter\bin\cache\artifacts\engine\ios" -export "FLUTTER_BUILD_NAME=1.0.0" -export "FLUTTER_BUILD_NUMBER=1" -export "DART_OBFUSCATION=false" -export "TRACK_WIDGET_CREATION=false" -export "TREE_SHAKE_ICONS=false" -export "PACKAGE_CONFIG=.packages" diff --git a/lib/generated_plugin_registrant.dart b/lib/generated_plugin_registrant.dart deleted file mode 100644 index fb854d7..0000000 --- a/lib/generated_plugin_registrant.dart +++ /dev/null @@ -1,17 +0,0 @@ -// -// Generated file. Do not edit. -// - -// ignore_for_file: lines_longer_than_80_chars - -import 'package:shared_preferences_web/shared_preferences_web.dart'; -import 'package:url_launcher_web/url_launcher_web.dart'; - -import 'package:flutter_web_plugins/flutter_web_plugins.dart'; - -// ignore: public_member_api_docs -void registerPlugins(Registrar registrar) { - SharedPreferencesPlugin.registerWith(registrar); - UrlLauncherPlugin.registerWith(registrar); - registrar.registerMessageHandler(); -} diff --git a/web/favicon.png b/web/favicon.png new file mode 100644 index 0000000..8aaa46a Binary files /dev/null and b/web/favicon.png differ diff --git a/web/icons/Icon-192.png b/web/icons/Icon-192.png new file mode 100644 index 0000000..b749bfe Binary files /dev/null and b/web/icons/Icon-192.png differ diff --git a/web/icons/Icon-512.png b/web/icons/Icon-512.png new file mode 100644 index 0000000..88cfd48 Binary files /dev/null and b/web/icons/Icon-512.png differ diff --git a/web/index.html b/web/index.html new file mode 100644 index 0000000..1c94eef --- /dev/null +++ b/web/index.html @@ -0,0 +1,101 @@ + + +
+ +