Annotation of modules/damieng/graphical_editor/daxe_server/bin/main.dart, revision 1.1
1.1 ! damieng 1: /*
! 2: This file is part of Daxe.
! 3:
! 4: Daxe is free software: you can redistribute it and/or modify
! 5: it under the terms of the GNU General Public License as published by
! 6: the Free Software Foundation, either version 3 of the License, or
! 7: (at your option) any later version.
! 8:
! 9: Daxe is distributed in the hope that it will be useful,
! 10: but WITHOUT ANY WARRANTY; without even the implied warranty of
! 11: MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
! 12: GNU General Public License for more details.
! 13:
! 14: You should have received a copy of the GNU General Public License
! 15: along with Daxe. If not, see <http://www.gnu.org/licenses/>.
! 16: */
! 17:
! 18: import 'package:daxe_server/daxe_server.dart' as daxe_server;
! 19:
! 20: /**
! 21: * Arguments: XML file path, Config name.
! 22: */
! 23: main(List<String> args) {
! 24: if (args != null && args.length > 1)
! 25: daxe_server.start(args[0], args[1]);
! 26: else
! 27: daxe_server.start();
! 28: }
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>