From b8c10345d3d55dd7de99b03fd5cccec949d0f301 Mon Sep 17 00:00:00 2001
From: ForkBench <robinvandemerghel@protonmail.com>
Date: Sun, 14 Jul 2024 20:17:24 +0200
Subject: [PATCH] Correcting Taskfile, building : success

---
 Taskfile.yml | 21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

diff --git a/Taskfile.yml b/Taskfile.yml
index f4df408..33a1c95 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -77,6 +77,7 @@ tasks:
         summary: Creates a production build of the application
         deps:
             - task: go:mod:tidy
+            - task: build:frontend
               vars:
                   BUILD_FLAGS: "{{.BUILD_FLAGS}}"
             - task: generate:icons
@@ -97,31 +98,31 @@ tasks:
         summary: Creates a production build of the application
         cmds:
             - task: build:darwin
-              vars:
-                  ARCH: arm64
-                  PRODUCTION: "true"
+        vars:
+            ARCH: arm64
+            PRODUCTION: "true"
 
     build:darwin:prod:amd64:
         summary: Creates a production build of the application
         cmds:
             - task: build:darwin
-              vars:
-                  ARCH: amd64
-                  PRODUCTION: "true"
+        vars:
+            ARCH: amd64
+            PRODUCTION: "true"
 
     build:darwin:debug:arm64:
         summary: Creates a debug build of the application
         cmds:
             - task: build:darwin
-              vars:
-                  ARCH: arm64
+        vars:
+            ARCH: arm64
 
     build:darwin:debug:amd64:
         summary: Creates a debug build of the application
         cmds:
             - task: build:darwin
-              vars:
-                  ARCH: amd64
+        vars:
+            ARCH: amd64
 
     ## ------> Linux <-------
 
-- 
GitLab