From 21d1deb0cf0ffb98f99dedb4ff9f56c584d9d3d5 Mon Sep 17 00:00:00 2001 From: BuckarooBanzay Date: Tue, 19 Mar 2024 13:14:09 +0100 Subject: [PATCH] rename things --- .github/workflows/{default.yml => minetest_game.yml} | 4 ++-- docker-compose.yml | 2 +- mtt.lua | 2 +- test/nodelist/{default.txt => minetest_game.txt} | 0 4 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{default.yml => minetest_game.yml} (65%) rename test/nodelist/{default.txt => minetest_game.txt} (100%) diff --git a/.github/workflows/default.yml b/.github/workflows/minetest_game.yml similarity index 65% rename from .github/workflows/default.yml rename to .github/workflows/minetest_game.yml index a9913f0..572ee68 100644 --- a/.github/workflows/default.yml +++ b/.github/workflows/minetest_game.yml @@ -1,4 +1,4 @@ -name: test +name: minetest_game on: [push, pull_request] jobs: test: @@ -7,4 +7,4 @@ jobs: steps: uses: actions/checkout@main - name: test - run: docker-compose up --exit-code-from default + run: docker-compose up --exit-code-from minetest_game diff --git a/docker-compose.yml b/docker-compose.yml index 621f444..00305d6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,7 +1,7 @@ version: "3.6" services: - default: + minetest_game: build: test entrypoint: "minetestserver --config /minetest.conf --world /root/.minetest/worlds/world/ --gameid minetest" volumes: diff --git a/mtt.lua b/mtt.lua index b2b97f0..fae3702 100644 --- a/mtt.lua +++ b/mtt.lua @@ -3,5 +3,5 @@ mtt.emerge_area({ x=0, y=0, z=0 }, { x=10, y=10, z=10 }) if minetest.get_modpath("default") then - mtt.validate_nodenames(minetest.get_worldpath() .. "/nodelist/default.txt") + mtt.validate_nodenames(minetest.get_worldpath() .. "/nodelist/minetest_game.txt") end \ No newline at end of file diff --git a/test/nodelist/default.txt b/test/nodelist/minetest_game.txt similarity index 100% rename from test/nodelist/default.txt rename to test/nodelist/minetest_game.txt