Skip to content

Latest commit

 

History

History
82 lines (54 loc) · 1.9 KB

README.md

File metadata and controls

82 lines (54 loc) · 1.9 KB

Crossroads (Packaging tool)

Description

Crossroads is a dotnet core commandline tool packager for developers. This is a generic solution to host any application within Crossroads package executable and further launches application's executable. Developers will specify arguments such as name, icon, version etc for branding during the package generation. The specified argument name will be used to rebrand the internal application.

Why Use Crossroads

Crossroads allows you to:

  • create an executable package.
  • customise your package with a name, icon, version and other attributes
  • run applications through crossroads generated package

How to use

Package Notepad

crossroads package --name newnotepad --command "notepad"

Package Notepad and open a text file from include

crossroads package --name newhello --command notepad --args .\notepadtxt\abc.txt --location .\output --icon .\testicon.ico --version "2.2.2" --include ".\notepadtxt"

Package an application from include directory

crossroads package --name newhello --command ".\helloworld\helloworld.exe" --location .\output --icon .\testcion.ico --version "3.0.1" --include ".\helloworld"

Inspect a package

crossroads inspect --package ".\testapp.exe"

Show help

crossroads --help

Execute generated app

<appname>.exe

Execute generated with override arguments

<appname>.exe --args "new args"

How to Develop

Build the solution

dotnet build

Test and test with coverage

dotnet test
dotnet test -maxcpucount:1 -p:CollectCoverage=true -p:CoverletOutput="..\TestResults\" -p:MergeWith="..\TestResults\coverage.json"

Deploy

dotnet build -c:release
dotnet publish .\src\Crossroads\Crossroads.csproj -c:release --no-build