ii887522 / nitro

A general purpose C++ library that can help developers create various kinds of applications in no time.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nitro

It is a general purpose C++ library that can help developers create various kinds of applications in no time.

Table of Contents

Coding Style

This project follows Google C++ Style Guide. Please familiarize yourself with the rules provided in the coding style and make sure all the proposed code changes in your commits are conforming to the style before making a merge request. You can also make use of cpplint which is a Visual Studio Code plugin and build command under the Build project section to support you.

Prerequisites

  • Windows 10
  • Docker Desktop using Windows containers
  • Visual Studio Code
    • C/C++
    • cpplint
    • Docker
    • EditorConfig for VS Code
    • Markdown All in One
    • Remote - WSL
    • YAML
  • Visual Studio Community 2019 and later
    • Extensions:
      • Markdown Editor
      • EditorConfig Language Service
      • Line Endings Unifier
      • Github Extension for Visual Studio
      • OpenCppCoverage Plugin
    • Workloads:
      • Desktop development with C++
    • Individual components:
      • JavaScript and TypeScript language support
      • Git for Windows
  • Python 3.9.1 and later

Update .NET Framework SDK version used by ms-build-tools to match your OS

  1. Left click on the start button at the bottom left corner of your desktop.

Start button

  1. Left click on the settings button at the left side of the start menu.

Settings

  1. Left click on the system button at the top left corner of settings window.

System

  1. Left click on the about button at the bottom left corner of settings window.

About

  1. Take note of the version shown in the settings window. You will need it to search for appropriate tags later.

Version

  1. Go to https://hub.docker.com/_/microsoft-dotnet-framework-sdk/ and find the Full Tag Listing section.
  2. Copy a tag that contains the version you have taken note of under the Full Tag Listing section.
  3. Finally, inside the repository, navigate to ms-build-tools/Dockerfile. Then, paste to replace the tag as highlighted and shown in the screenshot below and save it.

Tag

Build custom-node docker image

cd custom-node
build
cd ..

Build ms-build-tools docker image

cd ms-build-tools
build
cd ..

Install dependencies

install

Set correct cpplint executable path in .vscode/settings.json

  1. In the explorer panel of Visual Studio Code, navigate to env\Scripts\ or env/bin/ in the project directory and find the cpplint executable.
  2. Right click on the cpplint executable and click on Copy Path to copy its absolute path.
  3. In the explorer panel of Visual Studio Code, navigate to .vscode/settings.json in the project directory and open it.
  4. Finally, paste the absolute path as a string value of "cpplint.cpplintPath" in settings.json and save it.

Build project

build

Deploy project

deploy <version> <access-token>

About

A general purpose C++ library that can help developers create various kinds of applications in no time.

License:MIT License


Languages

Language:C++ 90.1%Language:JavaScript 4.6%Language:Batchfile 2.2%Language:Dockerfile 2.1%Language:C 0.9%