2020-11-27 22:12:01 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using ln.http;
|
|
|
|
|
using ln.http.router;
|
|
|
|
|
using ln.json;
|
|
|
|
|
using ln.logging;
|
|
|
|
|
using ln.type;
|
|
|
|
|
using ln.threading;
|
|
|
|
|
using ln.build;
|
2020-11-29 22:02:16 +01:00
|
|
|
|
using ln.build.repositories;
|
2020-11-27 22:12:01 +01:00
|
|
|
|
|
|
|
|
|
namespace ln.build.server
|
|
|
|
|
{
|
|
|
|
|
class Program
|
|
|
|
|
{
|
|
|
|
|
|
2020-11-28 01:08:49 +01:00
|
|
|
|
static CIService CIService;
|
2020-11-27 22:12:01 +01:00
|
|
|
|
|
|
|
|
|
static void Main(string[] args)
|
|
|
|
|
{
|
2020-11-28 01:08:49 +01:00
|
|
|
|
CIService = new CIService();
|
2020-11-29 22:02:16 +01:00
|
|
|
|
CIService.Initialize();
|
2020-11-28 01:08:49 +01:00
|
|
|
|
CIService.AddPipeline(new DotNetPipeLine());
|
2020-11-29 22:02:16 +01:00
|
|
|
|
CIService.AddRepositoryInterface(new GiteaRepositoryInterface("https://git.l--n.de"));
|
2020-11-27 22:12:01 +01:00
|
|
|
|
|
2020-11-29 22:02:16 +01:00
|
|
|
|
CIService.Start();
|
2020-11-27 22:12:01 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|