Removed unneeded files; updated README
This commit is contained in:
parent
396e53b1a6
commit
617ac31161
@ -1,3 +1,7 @@
|
||||
# myPrayerJournal
|
||||
|
||||
WIP - will eventually be hosted at <https://prayerjournal.me>
|
||||
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 <https://prayerjournal.me>, and will be available for public use.
|
||||
|
@ -1,5 +0,0 @@
|
||||
@echo off
|
||||
cd .\src\app
|
||||
npm run build prod
|
||||
cd ..\..
|
||||
exit %errorlevel%
|
@ -1,4 +0,0 @@
|
||||
@echo off
|
||||
cls
|
||||
"packages\FAKE\tools\Fake.exe" build.fsx %1
|
||||
pause
|
77
build.fsx
77
build.fsx
@ -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"
|
Loading…
Reference in New Issue
Block a user