From 617ac31161de4a5c96c12ce7ad4157e8eca28cfd Mon Sep 17 00:00:00 2001 From: "Daniel J. Summers" Date: Fri, 22 Sep 2017 23:51:14 -0500 Subject: [PATCH] Removed unneeded files; updated README --- README.md | 6 +++- build-vue.bat | 5 ---- build.bat | 4 --- build.fsx | 77 --------------------------------------------------- 4 files changed, 5 insertions(+), 87 deletions(-) delete mode 100644 build-vue.bat delete mode 100644 build.bat delete mode 100644 build.fsx diff --git a/README.md b/README.md index aaa29a9..e31780a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # myPrayerJournal -WIP - will eventually be hosted at \ No newline at end of file +Journaling has a long history; it helps people remember what happened, and the act of writing helps people think about what happened and process it. A prayer journal is not a new concept; it helps you keep track of the requests for which you've prayed, you can use it to pray over things repeatedly, and you can write the result when the answer comes _(or it was "no")_. + +This is borne of out of a personal desire I had to have something that would help me with my prayer life. When it's time to pray, it's not really time to use an app, so the design goal here is to keep it simple and unobtrusive. It will also help eliminate some of the downsides to a paper prayer journal, like not remembering whether you've prayed for a request, or running out of room to write another update on one. + +It is still a work-in-progress (WIP). It will eventually be hosted at , and will be available for public use. diff --git a/build-vue.bat b/build-vue.bat deleted file mode 100644 index 1475b2c..0000000 --- a/build-vue.bat +++ /dev/null @@ -1,5 +0,0 @@ -@echo off -cd .\src\app -npm run build prod -cd ..\.. -exit %errorlevel% \ No newline at end of file diff --git a/build.bat b/build.bat deleted file mode 100644 index 0bfb5e8..0000000 --- a/build.bat +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -cls -"packages\FAKE\tools\Fake.exe" build.fsx %1 -pause \ No newline at end of file diff --git a/build.fsx b/build.fsx deleted file mode 100644 index 65fa823..0000000 --- a/build.fsx +++ /dev/null @@ -1,77 +0,0 @@ -#r "packages/FAKE/tools/FakeLib.dll" -open Fake -open System - -let buildDir = "build" - -/// Path to the Vue app -let appPath = "src" @@ "app" - -/// Path to the Suave API -let apiPath = "src" @@ "api" - -// --- Targets --- - -Target "Clean" (fun _ -> - CleanDir buildDir - CleanDir (apiPath @@ "wwwroot") -) - -Target "BuildApp" (fun _ -> - let result = - ExecProcessAndReturnMessages (fun info -> - info.UseShellExecute <- false - info.FileName <- "build-vue.bat") (TimeSpan.FromMinutes 2.) - match result.ExitCode with 0 -> Log "App: " result.Messages | _ -> failwith "Vue build failed" -) - -Target "BuildApi" (fun _ -> - let result = - ExecProcessAndReturnMessages (fun info -> - info.UseShellExecute <- false - info.FileName <- "dotnet" - info.Arguments <- "build" - info.WorkingDirectory <- apiPath) (TimeSpan.FromMinutes 2.) - Log "Api: " result.Messages - match result.ExitCode with 0 -> () | _ -> failwith "API build failed" -) - -Target "Publish" (fun _ -> - ExecProcess (fun info -> - info.FileName <- "dotnet" - info.Arguments <- sprintf "publish -o %s" (".." @@ ".." @@ buildDir) - info.WorkingDirectory <- apiPath) TimeSpan.MaxValue - |> ignore -) - -Target "Run" (fun _ -> - ExecProcess (fun info -> - info.FileName <- "dotnet" - info.Arguments <- "myPrayerJournal.dll" - info.WorkingDirectory <- buildDir) TimeSpan.MaxValue - |> ignore -) - -Target "Default" (fun _ -> - Log "" Seq.empty -) - -// --- Dependencies --- - -"Clean" - ==> "BuildApp" - -"BuildApp" - ==> "BuildApi" - -"BuildApi" - ==> "Publish" - -"Publish" - ==> "Run" - -"BuildApi" - ==> "Default" - - -RunTargetOrDefault "Default" \ No newline at end of file