mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-17 23:44:17 +08:00
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:
commit
bcd2cde24d
5
recipes/tests/hello-redox/files/test.c
Normal file
5
recipes/tests/hello-redox/files/test.c
Normal file
@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
|
||||
int main(void) {
|
||||
printf("Hello, Redox!\\n");
|
||||
}
|
||||
6
recipes/tests/hello-redox/files/test.cpp
Normal file
6
recipes/tests/hello-redox/files/test.cpp
Normal file
@ -0,0 +1,6 @@
|
||||
#include <iostream>
|
||||
|
||||
int main()
|
||||
{
|
||||
std::cout << "Hello, Redox!" << std::endl;
|
||||
}
|
||||
5
recipes/tests/hello-redox/files/test.java
Normal file
5
recipes/tests/hello-redox/files/test.java
Normal file
@ -0,0 +1,5 @@
|
||||
public class Java {
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello Redox");
|
||||
}
|
||||
}
|
||||
1
recipes/tests/hello-redox/files/test.js
Normal file
1
recipes/tests/hello-redox/files/test.js
Normal file
@ -0,0 +1 @@
|
||||
console.log("Hello Redox");
|
||||
1
recipes/tests/hello-redox/files/test.lua
Normal file
1
recipes/tests/hello-redox/files/test.lua
Normal file
@ -0,0 +1 @@
|
||||
print("Hello, Redox!")
|
||||
1
recipes/tests/hello-redox/files/test.py
Normal file
1
recipes/tests/hello-redox/files/test.py
Normal file
@ -0,0 +1 @@
|
||||
print("Hello, Redox!")
|
||||
3
recipes/tests/hello-redox/files/test.rs
Normal file
3
recipes/tests/hello-redox/files/test.rs
Normal file
@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
println!("Hello, Redox!");
|
||||
}
|
||||
6
recipes/tests/hello-redox/recipe.toml
Normal file
6
recipes/tests/hello-redox/recipe.toml
Normal 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"
|
||||
"""
|
||||
Loading…
Reference in New Issue
Block a user