From e12bd8cca9fa82172ca10b995ab25d081fa483f8 Mon Sep 17 00:00:00 2001 From: Brandon Dyck Date: Thu, 3 Aug 2023 16:17:04 -0600 Subject: [PATCH] Rename chapters dir to originals --- edit-chapters.go | 2 +- {chapters => original}/01.markdown | 0 {chapters => original}/02.markdown | 0 {chapters => original}/03.markdown | 0 {chapters => original}/04.markdown | 0 {chapters => original}/05.markdown | 0 {chapters => original}/06.markdown | 0 {chapters => original}/07.markdown | 0 {chapters => original}/08.markdown | 0 {chapters => original}/09.markdown | 0 {chapters => original}/10.markdown | 0 {chapters => original}/11.markdown | 0 {chapters => original}/12.markdown | 0 {chapters => original}/appendix.markdown | 0 14 files changed, 1 insertion(+), 1 deletion(-) rename {chapters => original}/01.markdown (100%) rename {chapters => original}/02.markdown (100%) rename {chapters => original}/03.markdown (100%) rename {chapters => original}/04.markdown (100%) rename {chapters => original}/05.markdown (100%) rename {chapters => original}/06.markdown (100%) rename {chapters => original}/07.markdown (100%) rename {chapters => original}/08.markdown (100%) rename {chapters => original}/09.markdown (100%) rename {chapters => original}/10.markdown (100%) rename {chapters => original}/11.markdown (100%) rename {chapters => original}/12.markdown (100%) rename {chapters => original}/appendix.markdown (100%) diff --git a/edit-chapters.go b/edit-chapters.go index 3d96c7a..35d6170 100644 --- a/edit-chapters.go +++ b/edit-chapters.go @@ -63,7 +63,7 @@ var replacers = mapSlice(compile, [][2]string{ }) func run() error { - paths, err := filepath.Glob("chapters/*.markdown") + paths, err := filepath.Glob("original/*.markdown") if err != nil { return err } diff --git a/chapters/01.markdown b/original/01.markdown similarity index 100% rename from chapters/01.markdown rename to original/01.markdown diff --git a/chapters/02.markdown b/original/02.markdown similarity index 100% rename from chapters/02.markdown rename to original/02.markdown diff --git a/chapters/03.markdown b/original/03.markdown similarity index 100% rename from chapters/03.markdown rename to original/03.markdown diff --git a/chapters/04.markdown b/original/04.markdown similarity index 100% rename from chapters/04.markdown rename to original/04.markdown diff --git a/chapters/05.markdown b/original/05.markdown similarity index 100% rename from chapters/05.markdown rename to original/05.markdown diff --git a/chapters/06.markdown b/original/06.markdown similarity index 100% rename from chapters/06.markdown rename to original/06.markdown diff --git a/chapters/07.markdown b/original/07.markdown similarity index 100% rename from chapters/07.markdown rename to original/07.markdown diff --git a/chapters/08.markdown b/original/08.markdown similarity index 100% rename from chapters/08.markdown rename to original/08.markdown diff --git a/chapters/09.markdown b/original/09.markdown similarity index 100% rename from chapters/09.markdown rename to original/09.markdown diff --git a/chapters/10.markdown b/original/10.markdown similarity index 100% rename from chapters/10.markdown rename to original/10.markdown diff --git a/chapters/11.markdown b/original/11.markdown similarity index 100% rename from chapters/11.markdown rename to original/11.markdown diff --git a/chapters/12.markdown b/original/12.markdown similarity index 100% rename from chapters/12.markdown rename to original/12.markdown diff --git a/chapters/appendix.markdown b/original/appendix.markdown similarity index 100% rename from chapters/appendix.markdown rename to original/appendix.markdown