Move the "Hello Redox" tests to a recipe for better filesystem config organization

This commit is contained in:
Ribbon 2025-09-30 06:47:46 -03:00
parent 81bce6bf7c
commit e64f9dd92a
8 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,5 @@
#include <stdio.h>
int main(void) {
printf("Hello, Redox!\\n");
}

View File

@ -0,0 +1,6 @@
#include <iostream>
int main()
{
std::cout << "Hello, Redox!" << std::endl;
}

View File

@ -0,0 +1,5 @@
public class Java {
public static void main(String[] args) {
System.out.println("Hello Redox");
}
}

View File

@ -0,0 +1 @@
console.log("Hello Redox");

View File

@ -0,0 +1 @@
print("Hello, Redox!")

View File

@ -0,0 +1 @@
print("Hello, Redox!")

View File

@ -0,0 +1,3 @@
fn main() {
println!("Hello, Redox!");
}

View File

@ -0,0 +1,6 @@
[build]
template = "custom"
script = """
mkdir -pv "${COOKBOOK_STAGE}/home/user/hello-redox"
cp -rv "${COOKBOOK_RECIPE}"/files/* "${COOKBOOK_STAGE}/home/user/hello-redox"
"""