Compare commits
No commits in common. "9abb6eccb8c4e2463eb22efddf6a43fd5eeaec7d" and "fc847b4fbf88cdf8389e13d94026ac564ce433a6" have entirely different histories.
9abb6eccb8
...
fc847b4fbf
9 changed files with 8 additions and 1459 deletions
3
.idea/.gitignore
vendored
3
.idea/.gitignore
vendored
|
|
@ -1,3 +0,0 @@
|
||||||
# Default ignored files
|
|
||||||
/shelf/
|
|
||||||
/workspace.xml
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -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>
|
|
||||||
|
|
@ -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>
|
|
||||||
|
|
@ -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>
|
|
||||||
|
|
@ -1,6 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<project version="4">
|
|
||||||
<component name="VcsDirectoryMappings">
|
|
||||||
<mapping directory="" vcs="Git" />
|
|
||||||
</component>
|
|
||||||
</project>
|
|
||||||
13
Dockerfile
13
Dockerfile
|
|
@ -7,13 +7,8 @@ WORKDIR /app
|
||||||
# Copy your custom SDK/framework files from the repo to the container
|
# Copy your custom SDK/framework files from the repo to the container
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
# Setup the app
|
# Ensure your custom dart scripts are executable (if applicable)
|
||||||
WORKDIR /app/NeonFramework-2/neon_framework/my_2nd_test_app
|
# RUN chmod +x bin/your_custom_script.dart
|
||||||
RUN dart pub get
|
|
||||||
|
|
||||||
# Run the app using the framework CLI
|
# This keeps the container running so the "Console" stays active
|
||||||
# Framework CLI is at ../bin/neon.dart
|
CMD ["tail", "-f", "/dev/null"]
|
||||||
# App is at . (current workdir)
|
|
||||||
# Command: dart ../bin/neon.dart run -t web --release
|
|
||||||
|
|
||||||
CMD ["dart", "run", "neon_framework:neon", "run", "-t", "web", "--release"]
|
|
||||||
|
|
@ -10,4 +10,4 @@ environment:
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
neon_framework:
|
neon_framework:
|
||||||
path: ..
|
path: /Users/hamzaibrahim/Downloads/NeonFramework-latest-v1-2026-2/NeonFramework-2/neon_framework
|
||||||
|
|
@ -22,8 +22,8 @@ class RunCommand extends Command<int> {
|
||||||
'target',
|
'target',
|
||||||
abbr: 't',
|
abbr: 't',
|
||||||
help: 'Target platform.',
|
help: 'Target platform.',
|
||||||
allowed: ['android', 'ios', 'web'],
|
allowed: ['android', 'ios'],
|
||||||
defaultsTo: 'web',
|
defaultsTo: 'android',
|
||||||
);
|
);
|
||||||
argParser.addOption(
|
argParser.addOption(
|
||||||
'device',
|
'device',
|
||||||
|
|
@ -175,7 +175,7 @@ class RunCommand extends Command<int> {
|
||||||
workingDirectory: project.rootPath,
|
workingDirectory: project.rootPath,
|
||||||
mode: ProcessStartMode.inheritStdio,
|
mode: ProcessStartMode.inheritStdio,
|
||||||
environment: {
|
environment: {
|
||||||
'PORT': Platform.environment['PORT'] ?? '8080', // Use env PORT or default to 8080
|
'PORT': '8080', // Force 8080 for bridge compatibility
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue