Compare commits

..

No commits in common. "9abb6eccb8c4e2463eb22efddf6a43fd5eeaec7d" and "fc847b4fbf88cdf8389e13d94026ac564ce433a6" have entirely different histories.

9 changed files with 8 additions and 1459 deletions

3
.idea/.gitignore vendored
View file

@ -1,3 +0,0 @@
# Default ignored files
/shelf/
/workspace.xml

File diff suppressed because it is too large Load diff

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

View file

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/neon_mobile_framework.iml" filepath="$PROJECT_DIR$/.idea/neon_mobile_framework.iml" />
</modules>
</component>
</project>

View file

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View file

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View file

@ -7,13 +7,8 @@ WORKDIR /app
# Copy your custom SDK/framework files from the repo to the container
COPY . .
# Setup the app
WORKDIR /app/NeonFramework-2/neon_framework/my_2nd_test_app
RUN dart pub get
# Ensure your custom dart scripts are executable (if applicable)
# RUN chmod +x bin/your_custom_script.dart
# Run the app using the framework CLI
# Framework CLI is at ../bin/neon.dart
# App is at . (current workdir)
# Command: dart ../bin/neon.dart run -t web --release
CMD ["dart", "run", "neon_framework:neon", "run", "-t", "web", "--release"]
# This keeps the container running so the "Console" stays active
CMD ["tail", "-f", "/dev/null"]

View file

@ -10,4 +10,4 @@ environment:
dependencies:
neon_framework:
path: ..
path: /Users/hamzaibrahim/Downloads/NeonFramework-latest-v1-2026-2/NeonFramework-2/neon_framework

View file

@ -22,8 +22,8 @@ class RunCommand extends Command<int> {
'target',
abbr: 't',
help: 'Target platform.',
allowed: ['android', 'ios', 'web'],
defaultsTo: 'web',
allowed: ['android', 'ios'],
defaultsTo: 'android',
);
argParser.addOption(
'device',
@ -175,7 +175,7 @@ class RunCommand extends Command<int> {
workingDirectory: project.rootPath,
mode: ProcessStartMode.inheritStdio,
environment: {
'PORT': Platform.environment['PORT'] ?? '8080', // Use env PORT or default to 8080
'PORT': '8080', // Force 8080 for bridge compatibility
},
);