Hyprx.Rex.Core
0.0.0-alpha.2
dotnet add package Hyprx.Rex.Core --version 0.0.0-alpha.2
NuGet\Install-Package Hyprx.Rex.Core -Version 0.0.0-alpha.2
<PackageReference Include="Hyprx.Rex.Core" Version="0.0.0-alpha.2" />
<PackageVersion Include="Hyprx.Rex.Core" Version="0.0.0-alpha.2" />
<PackageReference Include="Hyprx.Rex.Core" />
paket add Hyprx.Rex.Core --version 0.0.0-alpha.2
#r "nuget: Hyprx.Rex.Core, 0.0.0-alpha.2"
#addin nuget:?package=Hyprx.Rex.Core&version=0.0.0-alpha.2&prerelease
#tool nuget:?package=Hyprx.Rex.Core&version=0.0.0-alpha.2&prerelease
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 | Versions 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. |
-
net10.0
- Hyprx.Core (>= 0.0.0-alpha.1)
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