From 4965bf7dfa14c791f3ee17e88f8f2521ee27c9f9 Mon Sep 17 00:00:00 2001 From: Chris Sexton Date: Mon, 26 Oct 2020 06:39:18 -0400 Subject: [PATCH] taskpaper: rename file to proper extension --- gendates.go | 4 ++-- tpl/{course.task.tpl => course.taskpaper.tpl} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename tpl/{course.task.tpl => course.taskpaper.tpl} (100%) diff --git a/gendates.go b/gendates.go index 97235fd..80a1934 100644 --- a/gendates.go +++ b/gendates.go @@ -21,7 +21,7 @@ var tplMap = map[string]string{ "assignments": "assignments.adoc.tpl", "schedule": "schedule.adoc.tpl", "syllabus": "syllabus.adoc.tpl", - "course": "course.task.tpl", + "course": "course.taskpaper.tpl", } type DayMap map[int]time.Time @@ -145,7 +145,7 @@ func main() { } func writeTaskPaper(c Config) error { - f, err := os.Create("course.task") + f, err := os.Create("course.taskpaper") defer f.Close() if err != nil { return err diff --git a/tpl/course.task.tpl b/tpl/course.taskpaper.tpl similarity index 100% rename from tpl/course.task.tpl rename to tpl/course.taskpaper.tpl