mirror of
https://github.com/lifegpc/eh_downloader_flutter.git
synced 2026-06-06 05:49:03 +08:00
Add devcontainer
This commit is contained in:
10
.devcontainer/Dockerfile
Normal file
10
.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM dart
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y curl git unzip xz-utils zip libglu1-mesa
|
||||
|
||||
RUN apt-get clean
|
||||
|
||||
RUN git clone https://github.com/flutter/flutter.git -b stable --depth 1 /flutter
|
||||
ENV PATH="/flutter/bin:$PATH"
|
||||
RUN flutter doctor
|
||||
15
.devcontainer/devcontainer.json
Normal file
15
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"forwardPorts": [3000],
|
||||
"name": "Flutter",
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"Dart-Code.dart-code",
|
||||
"Dart-Code.flutter"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
1
.github/workflows/android.yml
vendored
1
.github/workflows/android.yml
vendored
@@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches: ["*"]
|
||||
paths-ignore:
|
||||
- '.devcontainer/**'
|
||||
- '.github/workflows/ios.yml'
|
||||
- '.github/workflows/linux.yml'
|
||||
- '.github/workflows/macos.yml'
|
||||
|
||||
1
.github/workflows/ios.yml
vendored
1
.github/workflows/ios.yml
vendored
@@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches: ["*"]
|
||||
paths-ignore:
|
||||
- '.devcontainer/**'
|
||||
- '.github/workflows/android.yml'
|
||||
- '.github/workflows/linux.yml'
|
||||
- '.github/workflows/macos.yml'
|
||||
|
||||
1
.github/workflows/linux.yml
vendored
1
.github/workflows/linux.yml
vendored
@@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches: ["*"]
|
||||
paths-ignore:
|
||||
- '.devcontainer/**'
|
||||
- '.github/workflows/android.yml'
|
||||
- '.github/workflows/ios.yml'
|
||||
- '.github/workflows/macos.yml'
|
||||
|
||||
1
.github/workflows/macos.yml
vendored
1
.github/workflows/macos.yml
vendored
@@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches: ["*"]
|
||||
paths-ignore:
|
||||
- '.devcontainer/**'
|
||||
- '.github/workflows/android.yml'
|
||||
- '.github/workflows/ios.yml'
|
||||
- '.github/workflows/linux.yml'
|
||||
|
||||
1
.github/workflows/web.yml
vendored
1
.github/workflows/web.yml
vendored
@@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches: ["*"]
|
||||
paths-ignore:
|
||||
- '.devcontainer/**'
|
||||
- '.github/workflows/android.yml'
|
||||
- '.github/workflows/ios.yml'
|
||||
- '.github/workflows/linux.yml'
|
||||
|
||||
1
.github/workflows/windows.yml
vendored
1
.github/workflows/windows.yml
vendored
@@ -3,6 +3,7 @@ on:
|
||||
push:
|
||||
branches: ["*"]
|
||||
paths-ignore:
|
||||
- '.devcontainer/**'
|
||||
- '.github/workflows/android.yml'
|
||||
- '.github/workflows/ios.yml'
|
||||
- '.github/workflows/linux.yml'
|
||||
|
||||
Reference in New Issue
Block a user