Merge branch 'hello-redox' into 'master'

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

See merge request redox-os/cookbook!646
This commit is contained in:
Jeremy Soller 2025-10-01 07:38:13 -06:00
commit bcd2cde24d
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"
"""