Add .dir-locals.el emacs config file #16
3 changed files with 11 additions and 2 deletions
4
.dir-locals.el
Normal file
4
.dir-locals.el
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
((c-mode . ((mode . c++)))
|
||||||
|
(c++-mode . ((mode . clang-format-on-save)))
|
||||||
|
(nil . ((projectile-project-compilation-cmd . "just build")
|
||||||
|
(projectile-project-run-cmd . "engine/bin/godot.linuxbsd.editor.dev.x86_64.llvm"))))
|
||||||
6
.gitignore
vendored
6
.gitignore
vendored
|
|
@ -6,9 +6,15 @@
|
||||||
config.log
|
config.log
|
||||||
.sconf_temp
|
.sconf_temp
|
||||||
|
|
||||||
|
# build artifacts
|
||||||
|
*.o
|
||||||
|
compile_commands.json
|
||||||
engine/.github
|
engine/.github
|
||||||
project/.godot
|
project/.godot
|
||||||
build/PROJECT.pck
|
build/PROJECT.pck
|
||||||
build/PROJECT.x86_64
|
build/PROJECT.x86_64
|
||||||
build/PROJECT.exe
|
build/PROJECT.exe
|
||||||
build.zip
|
build.zip
|
||||||
|
|
||||||
|
# general-purpose cache folder (used by e.g clangd)
|
||||||
|
.cache
|
||||||
|
|
|
||||||
3
justfile
3
justfile
|
|
@ -37,9 +37,8 @@ release-windows: build
|
||||||
initialize-template projectname:
|
initialize-template projectname:
|
||||||
# Initializing Template {{projectname}}
|
# Initializing Template {{projectname}}
|
||||||
sed -i -e "s/PROJECT/{{projectname}}/g" ./modules/PROJECT/register_types.h ./modules/PROJECT/register_types.cpp ./project/project.godot ./project/export_presets.cfg .gitignore
|
sed -i -e "s/PROJECT/{{projectname}}/g" ./modules/PROJECT/register_types.h ./modules/PROJECT/register_types.cpp ./project/project.godot ./project/export_presets.cfg .gitignore
|
||||||
sed "s/change_me/{{projectname}}/" ./justfile
|
sed -i -e "s/change_me/{{projectname}}/" ./justfile
|
||||||
mv ./modules/PROJECT ./modules/{{projectname}}
|
mv ./modules/PROJECT ./modules/{{projectname}}
|
||||||
# Done Initializing, you will still have to update BUILD_NAME in your justfile
|
|
||||||
|
|
||||||
format:
|
format:
|
||||||
# Formatting Custom Modules
|
# Formatting Custom Modules
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue