40 lines
949 B
C#
40 lines
949 B
C#
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;
|
|
using ln.build.repositories;
|
|
using Microsoft.VisualBasic;
|
|
using ln.application;
|
|
using System.IO;
|
|
|
|
namespace ln.build.server
|
|
{
|
|
class Program
|
|
{
|
|
static CIService CIService;
|
|
|
|
static void Main(string[] args)
|
|
{
|
|
ArgumentContainer ac = new ArgumentContainer(typeof(Program));
|
|
|
|
CIService = new CIService();
|
|
ac.AddOptions(CIService);
|
|
ac.Parse(ref args);
|
|
|
|
CIService.Initialize();
|
|
CIService.AddPipeline(new DotNetPipeLine());
|
|
CIService.AddRepositoryInterface(new GiteaRepositoryInterface("https://git.l--n.de"){ AuthorizationToken = "1d03e9577c404b5b4f46b340147b1d500ff95b2e", });
|
|
|
|
CIService.Start();
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|