summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/README.TXT1
-rw-r--r--examples/eula.txt1
-rw-r--r--examples/example.mcserver1
-rw-r--r--examples/meson.build29
-rw-r--r--examples/minecproxy.conf1
-rw-r--r--examples/minecproxy.service1
-rw-r--r--examples/minecserver@.service1
-rw-r--r--examples/server.properties1
8 files changed, 36 insertions, 0 deletions
diff --git a/examples/README.TXT b/examples/README.TXT
new file mode 100644
index 0000000..4de7a1c
--- /dev/null
+++ b/examples/README.TXT
@@ -0,0 +1 @@
+This is an example README.TXT
diff --git a/examples/eula.txt b/examples/eula.txt
new file mode 100644
index 0000000..aaf5a5a
--- /dev/null
+++ b/examples/eula.txt
@@ -0,0 +1 @@
+This is an example eula
diff --git a/examples/example.mcserver b/examples/example.mcserver
new file mode 100644
index 0000000..ed919dc
--- /dev/null
+++ b/examples/example.mcserver
@@ -0,0 +1 @@
+This is an example mcserver
diff --git a/examples/meson.build b/examples/meson.build
new file mode 100644
index 0000000..e50f459
--- /dev/null
+++ b/examples/meson.build
@@ -0,0 +1,29 @@
+# SPDX-License-Identifier: GPL-2
+
+example_files = [
+ 'eula.txt',
+ 'example.mcserver',
+ 'minecproxy.conf',
+ 'minecproxy.service',
+ 'minecserver@.service',
+ 'README.TXT',
+ 'server.properties',
+]
+
+xxd = find_program('xxd')
+
+xxd_cmd = [xxd, '-i', '@INPUT@', '@OUTPUT@']
+
+foreach example_file: example_files
+ example_output = example_file + '.h'
+
+ file = custom_target(
+ example_output,
+ input: example_file,
+ output: example_output,
+ command: xxd_cmd,
+ build_by_default: true,
+ )
+endforeach
+
+
diff --git a/examples/minecproxy.conf b/examples/minecproxy.conf
new file mode 100644
index 0000000..b17d8ef
--- /dev/null
+++ b/examples/minecproxy.conf
@@ -0,0 +1 @@
+This is the minecproxy conf example
diff --git a/examples/minecproxy.service b/examples/minecproxy.service
new file mode 100644
index 0000000..e14ed81
--- /dev/null
+++ b/examples/minecproxy.service
@@ -0,0 +1 @@
+This is an example service
diff --git a/examples/minecserver@.service b/examples/minecserver@.service
new file mode 100644
index 0000000..e14ed81
--- /dev/null
+++ b/examples/minecserver@.service
@@ -0,0 +1 @@
+This is an example service
diff --git a/examples/server.properties b/examples/server.properties
new file mode 100644
index 0000000..f992c40
--- /dev/null
+++ b/examples/server.properties
@@ -0,0 +1 @@
+This is an example server.properties file