summaryrefslogtreecommitdiff
path: root/src/content.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/content.rs')
-rw-r--r--src/content.rs32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/content.rs b/src/content.rs
new file mode 100644
index 0000000..9c11dd6
--- /dev/null
+++ b/src/content.rs
@@ -0,0 +1,32 @@
+pub fn create_gitignore_file() -> String {
+ return
+r#"# Godot-specific ignores
+.import/
+export.cfg
+export_presets.cfg
+
+# Imported translations (automatically generated from CSV files)
+*.translation
+
+# Mono-specific ignores
+.mono/
+data_*/
+
+# Glam-specific ignores
+.glam.d/"#.to_string();
+}
+
+pub fn create_gdignore_file() -> String {
+ return
+r#"# Glam-specific ignores
+.glam.d/"#.to_string();
+}
+
+pub fn create_glam_file() -> String {
+ return
+r#"{
+ "packages" : {
+ }
+}
+"#.to_string();
+}