Skip to content
This repository has been archived by the owner on Jul 13, 2022. It is now read-only.

chaoyebugao/Pubpiler

Repository files navigation

Introduction

Pubpiler is a tool that can generate proto type messages and gRPC services to different languages, by simple configuration / class.

Usage

STEP 1

Install nuget package from: Nuget

STEP 2

Just use the codes below:

var outputPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Desktop), "PubpilerTests");
Directory.CreateDirectory(outputPath);

var outputs = new (Langs lang, string outputPath)[]
{
    (Langs.CSharp, outputPath),
    (Langs.Js, outputPath),
};
Pubpiler.Compile("Scripts", "Common", null, outputs);

Releases

No releases published

Packages

No packages published

Languages