Hyprx.Rex.Core 0.0.0-alpha.2

This is a prerelease version of Hyprx.Rex.Core.
dotnet add package Hyprx.Rex.Core --version 0.0.0-alpha.2
                    
NuGet\Install-Package Hyprx.Rex.Core -Version 0.0.0-alpha.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Hyprx.Rex.Core" Version="0.0.0-alpha.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Hyprx.Rex.Core" Version="0.0.0-alpha.2" />
                    
Directory.Packages.props
<PackageReference Include="Hyprx.Rex.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Hyprx.Rex.Core --version 0.0.0-alpha.2
                    
#r "nuget: Hyprx.Rex.Core, 0.0.0-alpha.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=Hyprx.Rex.Core&version=0.0.0-alpha.2&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=Hyprx.Rex.Core&version=0.0.0-alpha.2&prerelease
                    
Install as a Cake Tool

Hyprx.Rex.Core

Overview

Core provides the key primitives for tasks, jobs, and deployments for running rex code tasks.

Task authors may reference this library, however, most users should import Hyprx.Rex.Console instead.

Usage

using static Hyprx.RexConsole;
using static Hyprx.Shell;

Task("default", () => Echo("Hello, World!"));

Task("hello", () => Echo("Hello from RexKitchen!"));

Task("env", () => Echo(Env.Expand("$MY_VALUE")));

Job("job1", (job) =>
{
    // addes the global task "hello" as a dependency to all tasks in this job
    // which allows you to share common tasks across multiple job
    // and run them as a standalone task as well.
    job.AddGlobalTask("hello");
    job.Task("task1", () => Echo("Task 1"));
    job.Task("task2", () => Echo("Task 2"));
});

Deployment("deploy1",
    (ctx) =>
    {
        Echo("Starting deployment...");
        Echo("Deployment finished.");
    })
    .BeforeDeploy((before) =>
    {
        before.Task("hello", () => Echo("Preparing to say hello..."));
    })
    .WithRollback(() =>
    {
        Echo("Rolling back deployment...");
        Echo("Rollback complete.");
    });

return await RunTasksAsync(args);
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Hyprx.Rex.Core:

Package Downloads
Hyprx.Rex.Pipelines

Hyprx.Rex.Pipelines provides the core pipelines that execute rex tasks, jobs, and deployments.

Hyprx.Rex.Console

The Hyprx.Rex.Console package enables you to create a cli task runner or a make-like experience in .NET within console projects or using `dotnet run app.cs` (single files).

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.0.0-alpha.2 111 6/25/2025
0.0.0-alpha.1 107 6/25/2025
0.0.0-alpha.0 120 6/17/2025

# Hyprx.Rex.Core Changelog

## 0.0.0

- features