From d4394bd5b1a753987522f967ed2afa47f80d7659 Mon Sep 17 00:00:00 2001 From: scarf Date: Wed, 13 Mar 2024 00:28:31 +0900 Subject: [PATCH] chore: flatten `scripts/` --- {scripts/changelog => changelog}/changelog_test.ts | 0 {scripts/changelog => changelog}/mod.ts | 0 {scripts/changelog => changelog}/render.ts | 0 {scripts/changelog => changelog}/render_bbcode.ts | 0 {scripts/changelog => changelog}/render_markdown.ts | 0 {scripts/changelog => changelog}/render_sts.ts | 0 {scripts/changelog => changelog}/semver.ts | 0 {scripts/changelog => changelog}/semver_test.ts | 0 deno.jsonc | 2 +- {scripts/link => link}/hardlink.ts | 0 {scripts/link => link}/inode.ts | 0 {scripts/link => link}/logger.ts | 0 {scripts/link => link}/mod.ts | 0 {scripts/link => link}/noop.ts | 0 scripts/paths.ts => paths.ts | 0 releases.ts | 2 +- releases_test.ts | 2 +- 17 files changed, 3 insertions(+), 3 deletions(-) rename {scripts/changelog => changelog}/changelog_test.ts (100%) rename {scripts/changelog => changelog}/mod.ts (100%) rename {scripts/changelog => changelog}/render.ts (100%) rename {scripts/changelog => changelog}/render_bbcode.ts (100%) rename {scripts/changelog => changelog}/render_markdown.ts (100%) rename {scripts/changelog => changelog}/render_sts.ts (100%) rename {scripts/changelog => changelog}/semver.ts (100%) rename {scripts/changelog => changelog}/semver_test.ts (100%) rename {scripts/link => link}/hardlink.ts (100%) rename {scripts/link => link}/inode.ts (100%) rename {scripts/link => link}/logger.ts (100%) rename {scripts/link => link}/mod.ts (100%) rename {scripts/link => link}/noop.ts (100%) rename scripts/paths.ts => paths.ts (100%) diff --git a/scripts/changelog/changelog_test.ts b/changelog/changelog_test.ts similarity index 100% rename from scripts/changelog/changelog_test.ts rename to changelog/changelog_test.ts diff --git a/scripts/changelog/mod.ts b/changelog/mod.ts similarity index 100% rename from scripts/changelog/mod.ts rename to changelog/mod.ts diff --git a/scripts/changelog/render.ts b/changelog/render.ts similarity index 100% rename from scripts/changelog/render.ts rename to changelog/render.ts diff --git a/scripts/changelog/render_bbcode.ts b/changelog/render_bbcode.ts similarity index 100% rename from scripts/changelog/render_bbcode.ts rename to changelog/render_bbcode.ts diff --git a/scripts/changelog/render_markdown.ts b/changelog/render_markdown.ts similarity index 100% rename from scripts/changelog/render_markdown.ts rename to changelog/render_markdown.ts diff --git a/scripts/changelog/render_sts.ts b/changelog/render_sts.ts similarity index 100% rename from scripts/changelog/render_sts.ts rename to changelog/render_sts.ts diff --git a/scripts/changelog/semver.ts b/changelog/semver.ts similarity index 100% rename from scripts/changelog/semver.ts rename to changelog/semver.ts diff --git a/scripts/changelog/semver_test.ts b/changelog/semver_test.ts similarity index 100% rename from scripts/changelog/semver_test.ts rename to changelog/semver_test.ts diff --git a/deno.jsonc b/deno.jsonc index 6c56baa..3050ce2 100644 --- a/deno.jsonc +++ b/deno.jsonc @@ -1,7 +1,7 @@ { "tasks": { "l10n": "deno task --cwd localization/", - "link": "deno run --allow-read --allow-write --allow-env ./scripts/link/mod.ts" + "link": "deno run --allow-read --allow-write --allow-env ./link/mod.ts" }, "exclude": ["src/main/kotlin/", "src/main/resources/marisa/img", "build/"], "fmt": { diff --git a/scripts/link/hardlink.ts b/link/hardlink.ts similarity index 100% rename from scripts/link/hardlink.ts rename to link/hardlink.ts diff --git a/scripts/link/inode.ts b/link/inode.ts similarity index 100% rename from scripts/link/inode.ts rename to link/inode.ts diff --git a/scripts/link/logger.ts b/link/logger.ts similarity index 100% rename from scripts/link/logger.ts rename to link/logger.ts diff --git a/scripts/link/mod.ts b/link/mod.ts similarity index 100% rename from scripts/link/mod.ts rename to link/mod.ts diff --git a/scripts/link/noop.ts b/link/noop.ts similarity index 100% rename from scripts/link/noop.ts rename to link/noop.ts diff --git a/scripts/paths.ts b/paths.ts similarity index 100% rename from scripts/paths.ts rename to paths.ts diff --git a/releases.ts b/releases.ts index d8dfb46..5fe2d16 100644 --- a/releases.ts +++ b/releases.ts @@ -1,6 +1,6 @@ import { join } from "$std/path/join.ts" import $ from "$dax/mod.ts" -import { steam as SteamPath } from "./scripts/paths.ts" +import { steam as SteamPath } from "./paths.ts" export const basePath = "docs/changelog" diff --git a/releases_test.ts b/releases_test.ts index 2714b9b..48fba02 100644 --- a/releases_test.ts +++ b/releases_test.ts @@ -1,6 +1,6 @@ import { join } from "$std/path/join.ts" import { basePath, changelogPath, jarPath, stsPath, version } from "./releases.ts" -import { verifyHardLink } from "./scripts/link/mod.ts" +import { verifyHardLink } from "./link/mod.ts" import { assertEquals } from "$std/assert/assert_equals.ts" import { assertStringIncludes } from "$std/assert/assert_string_includes.ts" import { readZip } from "https://deno.land/x/jszip@0.11.0/mod.ts"