Gleam .gitignore
@@ -100,7 +100,7 @@ impl Creator {
}
Template::Lib => {
- self.gitignore()?;
+ self.gleam_gitignore()?;
self.gleam_github_ci()?;
self.gleam_lib_readme()?;
self.gleam_gleam_toml()?;
@@ -264,6 +264,16 @@ pub fn stop(_state: Dynamic) {
)
}
+ fn gleam_gitignore(&self) -> Result<()> {
+ write(
+ self.root.join(".gitignore"),
+ "*.beam
+*.ez
+.build
+",
+ )
+ }
+
fn gitignore(&self) -> Result<()> {
write(
self.root.join(".gitignore"),
