Skip to content

Commit

Permalink
build: add idx dev config
Browse files Browse the repository at this point in the history
  • Loading branch information
sanzoghenzo committed Jun 2, 2024
1 parent b024f12 commit ca01a08
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .idx/dev.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{pkgs}: {
channel = "stable-23.11";
packages = [
pkgs.nodePackages.firebase-tools
pkgs.jdk17
pkgs.unzip
];
idx.extensions = [
"Dart-Code.dart-code"
"Dart-Code.flutter"
];
idx.previews = {
previews = {
web = {
command = [
"flutter"
"run"
"--machine"
"-d"
"web-server"
"--web-hostname"
"0.0.0.0"
"--web-port"
"$PORT"
];
manager = "flutter";
};
android = {
command = [
"flutter"
"run"
"--machine"
"-d"
"android"
"-d"
"emulator-5554"
];
manager = "flutter";
};
};
};
}

0 comments on commit ca01a08

Please sign in to comment.