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

Latest commit

 

History

History
22 lines (17 loc) · 614 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 614 Bytes

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);