From 8d9b56260bd447e3604fba036569f6c7aefa1423 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Fri, 27 Jun 2025 21:13:12 -0700 Subject: [PATCH] Make AGENTS.md a symlink to CLAUDE.md --- AGENTS.md | 37 +------------------------------------ test/AGENTS.md | 1 + 2 files changed, 2 insertions(+), 36 deletions(-) mode change 100644 => 120000 AGENTS.md create mode 120000 test/AGENTS.md diff --git a/AGENTS.md b/AGENTS.md deleted file mode 100644 index 9fe2abe4b7..0000000000 --- a/AGENTS.md +++ /dev/null @@ -1,36 +0,0 @@ -## bun tests - -**IMPORTANT**: use the `bun bd` command instead of the `bun` command. For example: - -✅ Good - -```sh -bun bd test internal/ban-words.test.ts -bun bd ./foo.ts -``` - -The `bun bd` command runs the DEBUG build. If you forget to run the debug build, your changes will not be reflected.. - -### Run a file - -To run a file, you can use the `bun bd ` command. - -```sh -bun bd ./foo.ts -``` - -### Run tests - -To run a single test, you need to use the `bun bd test ` command. - -```sh -bun bd test internal/ban-words.test.ts -``` - -You must ALWAYS make sure to pass a file path to the `bun bd test ` command. DO NOT try to run ALL the tests at once unless you're in a specific subdirectory. - -### Run a Node.js test - -```sh -bun bd --silent node:test test-fs-link -``` diff --git a/AGENTS.md b/AGENTS.md new file mode 120000 index 0000000000..681311eb9c --- /dev/null +++ b/AGENTS.md @@ -0,0 +1 @@ +CLAUDE.md \ No newline at end of file diff --git a/test/AGENTS.md b/test/AGENTS.md new file mode 120000 index 0000000000..681311eb9c --- /dev/null +++ b/test/AGENTS.md @@ -0,0 +1 @@ +CLAUDE.md \ No newline at end of file