Skip to content

Commit

Permalink
Some formatting for GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Janorico committed Sep 26, 2024
1 parent c66d100 commit 4a566eb
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions methods.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ def add_module_version_string(self, s):

def update_version(module_version_string=""):
build_name = "voxelfun2_engine"
#if os.getenv("BUILD_NAME") != None:
# build_name = str(os.getenv("BUILD_NAME"))
# print("Using custom build name: " + build_name)
# if os.getenv("BUILD_NAME") != None:
# build_name = str(os.getenv("BUILD_NAME"))
# print("Using custom build name: " + build_name)

import version

Expand Down
2 changes: 1 addition & 1 deletion modules/voxelfun2/SCsub
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SCsub

Import('env')
Import("env")

source_files = ["*.cpp", "worldgen/*.cpp"]

Expand Down
4 changes: 3 additions & 1 deletion modules/voxelfun2/config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# config.py


def can_build(env, platform):
return True


def configure(env):
pass
pass
3 changes: 1 addition & 2 deletions modules/voxelfun2/register_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@
#include "worldgen/voxel_generator_voxelfun2.h"

void register_voxelfun2_types() {
ClassDB::register_class<VoxelGeneratorVoxelFun2>();
ClassDB::register_class<VoxelGeneratorVoxelFun2>();
}

void unregister_voxelfun2_types() {
// Nothing to do here in this example.
}
1 change: 0 additions & 1 deletion modules/voxelfun2/register_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

void register_voxelfun2_types();
void unregister_voxelfun2_types();
/* yes, the word in the middle must be the same as the module folder name */

0 comments on commit 4a566eb

Please sign in to comment.