feat: initialized template using justfile
This commit is contained in:
parent
1710c1cf3d
commit
bfbd44d8cb
10 changed files with 19 additions and 18 deletions
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -8,9 +8,9 @@ config.log
|
|||
|
||||
engine/.github
|
||||
project/.godot
|
||||
build/PROJECT.pck
|
||||
build/PROJECT.x86_64
|
||||
build/PROJECT.exe
|
||||
build/you_done_it.pck
|
||||
build/you_done_it.x86_64
|
||||
build/you_done_it.exe
|
||||
build.zip
|
||||
|
||||
*.o
|
||||
|
|
|
|||
1
justfile
1
justfile
|
|
@ -7,6 +7,7 @@ compiledb := if tree_hash == `cat .tree.hash` { "no" } else { "yes" }
|
|||
build: format
|
||||
# Compiling Editor
|
||||
cd engine/ && scons target=editor symbols=yes optimization=debug dev_build=yes linker=mold use_llvm=yes compiledb={{compiledb}} custom_modules="../modules"
|
||||
echo {{tree_hash}} > .tree.hash
|
||||
|
||||
run: build
|
||||
# Running Editor
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
#ifndef PROJECT_REGISTER_TYPES_H
|
||||
#define PROJECT_REGISTER_TYPES_H
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_PROJECT_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_PROJECT_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // !PROJECT_REGISTER_TYPES_H
|
||||
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
#include "core/object/class_db.h"
|
||||
|
||||
void initialize_PROJECT_module(ModuleInitializationLevel p_level) {
|
||||
void initialize_you_done_it_module(ModuleInitializationLevel p_level) {
|
||||
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
void uninitialize_PROJECT_module(ModuleInitializationLevel p_level) {
|
||||
void uninitialize_you_done_it_module(ModuleInitializationLevel p_level) {
|
||||
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
|
||||
return;
|
||||
}
|
||||
9
modules/you_done_it/register_types.h
Normal file
9
modules/you_done_it/register_types.h
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#ifndef you_done_it_REGISTER_TYPES_H
|
||||
#define you_done_it_REGISTER_TYPES_H
|
||||
|
||||
#include "modules/register_module_types.h"
|
||||
|
||||
void initialize_you_done_it_module(ModuleInitializationLevel p_level);
|
||||
void uninitialize_you_done_it_module(ModuleInitializationLevel p_level);
|
||||
|
||||
#endif // !you_done_it_REGISTER_TYPES_H
|
||||
|
|
@ -9,7 +9,7 @@ custom_features=""
|
|||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../build/PROJECT.x86_64"
|
||||
export_path="../build/you_done_it.x86_64"
|
||||
patches=PackedStringArray()
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
|
|
@ -51,7 +51,7 @@ custom_features=""
|
|||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../build/PROJECT.exe"
|
||||
export_path="../build/you_done_it.exe"
|
||||
patches=PackedStringArray()
|
||||
encryption_include_filters=""
|
||||
encryption_exclude_filters=""
|
||||
|
|
|
|||
|
|
@ -10,6 +10,6 @@ config_version=5
|
|||
|
||||
[application]
|
||||
|
||||
config/name="PROJECT"
|
||||
config/features=PackedStringArray("4.5", "Forward Plus")
|
||||
config/name="you_done_it"
|
||||
config/features=PackedStringArray("4.4", "Forward Plus")
|
||||
config/icon="res://icon.svg"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue