Browse Source

Added git ignore

master
Michaël Lemaire 1 year ago
parent
commit
61ff588154
  1. 3
      .gitignore
  2. 3
      .vscode/settings.json
  3. 3211
      deno.d.ts
  4. 10
      normalize.ts

3
.gitignore

@ -0,0 +1,3 @@
deno.d.ts
.vscode
.local

3
.vscode/settings.json

@ -1,3 +0,0 @@
{
"deno.enabled": true
}

3211
deno.d.ts

File diff suppressed because it is too large

10
normalize.ts

@ -77,6 +77,15 @@ async function updateVscodeConf() {
}
}
async function updateGitIgnore() {
await Deno.writeTextFile(
".gitignore",
`deno.d.ts
.vscode
.local
`,
);
}
export async function normalize() {
if (!await isDirectory(".git")) {
throw new Error("Not in a git repository");
@ -86,6 +95,7 @@ export async function normalize() {
await updateVscodeConf();
await updateTsConfig();
await updateEditorConfig();
await updateGitIgnore();
}
if (import.meta.main) {

Loading…
Cancel
Save