Create a entry point for server
This commit is contained in:
parent
52c6fff445
commit
2b6a265b74
5 changed files with 9 additions and 13 deletions
7
bin/server.dart
Normal file
7
bin/server.dart
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
import 'package:libac_flutter/packets/packets.dart';
|
||||||
|
|
||||||
|
void main() async {
|
||||||
|
await PacketServer.start();
|
||||||
|
|
||||||
|
print("Server stopping");
|
||||||
|
}
|
|
@ -1,4 +1,3 @@
|
||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
call run_hive_generator.bat
|
|
||||||
call flutter build windows
|
call flutter build windows
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
./run_hive_generator.sh
|
|
||||||
flutter build linux
|
flutter build linux
|
||||||
|
dart build
|
|
@ -1,5 +0,0 @@
|
||||||
@echo off
|
|
||||||
|
|
||||||
|
|
||||||
call flutter doctor
|
|
||||||
call dart run build_runner build
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
flutter doctor
|
|
||||||
|
|
||||||
dart run build_runner build
|
|
Loading…
Reference in a new issue