From db3253c44336bfafbf9fef7ba408ec99b0f131c2 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 06 Mar 2025 22:37:06 +0800 Subject: [PATCH] scripts, sql: Reorganize --- lint => scripts/lint | 0 purge.sql => sql/purge.sql | 0 resources.go | 3 +-- schema.sql => sql/schema.sql | 0 test.sql => sql/test.sql | 0 update_deps => scripts/update_deps | 0 diff --git a/lint b/scripts/lint rename from lint rename to scripts/lint diff --git a/purge.sql b/sql/purge.sql rename from purge.sql rename to sql/purge.sql diff --git a/resources.go b/resources.go index 6c3cece40de1eaeb9cf2c8aa9ba5a1c3ac17f8fa..20d44841ed68418a2c5311eaa6e49eb5595e7452 100644 --- a/resources.go +++ b/resources.go @@ -17,8 +17,7 @@ //go:embed LICENSE README.md //go:embed *.go go.mod go.sum //go:embed *.scfg //go:embed Makefile -//go:embed schema.sql -//go:embed static/* templates/* +//go:embed static/* templates/* scripts/* sql/* //go:embed git_hooks_client/*.c //go:embed vendor/* var source_fs embed.FS diff --git a/schema.sql b/sql/schema.sql rename from schema.sql rename to sql/schema.sql diff --git a/test.sql b/sql/test.sql rename from test.sql rename to sql/test.sql diff --git a/update_deps b/scripts/update_deps rename from update_deps rename to scripts/update_deps -- 2.48.1