Create a entry point for server

This commit is contained in:
zontreck 2024-05-22 16:13:19 -07:00
parent 52c6fff445
commit 2b6a265b74
5 changed files with 9 additions and 13 deletions

7
bin/server.dart Normal file
View file

@ -0,0 +1,7 @@
import 'package:libac_flutter/packets/packets.dart';
void main() async {
await PacketServer.start();
print("Server stopping");
}

View file

@ -1,4 +1,3 @@
@echo off
call run_hive_generator.bat
call flutter build windows

View file

@ -1,4 +1,4 @@
#!/bin/bash
./run_hive_generator.sh
flutter build linux
flutter build linux
dart build

View file

@ -1,5 +0,0 @@
@echo off
call flutter doctor
call dart run build_runner build

View file

@ -1,5 +0,0 @@
#!/bin/bash
flutter doctor
dart run build_runner build