From e85aa98a4db233f8c3c0b8b71cd6b6e61c44ad72 Mon Sep 17 00:00:00 2001 From: Snider Date: Fri, 6 Mar 2026 14:46:02 +0000 Subject: [PATCH] chore: replace root Taskfile with .core/build.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Root Taskfile removed — `core build` auto-detects Wails projects. Platform Taskfiles in build/ retained (used by wails3 internally). Co-Authored-By: Virgil --- .core/build.yaml | 26 ++++++++++++++++++++++++++ Taskfile.yml | 34 ---------------------------------- 2 files changed, 26 insertions(+), 34 deletions(-) create mode 100644 .core/build.yaml delete mode 100644 Taskfile.yml diff --git a/.core/build.yaml b/.core/build.yaml new file mode 100644 index 0000000..5c59e42 --- /dev/null +++ b/.core/build.yaml @@ -0,0 +1,26 @@ +# Core IDE build configuration +# Used by: core build + +version: 1 + +project: + name: core-ide + description: Core IDE - Development Environment + binary: core-ide + +build: + type: wails + cgo: true + flags: + - -trimpath + ldflags: + - -s + - -w + +targets: + - os: darwin + arch: arm64 + - os: linux + arch: amd64 + - os: windows + arch: amd64 diff --git a/Taskfile.yml b/Taskfile.yml deleted file mode 100644 index 4eff589..0000000 --- a/Taskfile.yml +++ /dev/null @@ -1,34 +0,0 @@ -version: '3' - -includes: - common: ./build/Taskfile.yml - windows: ./build/windows/Taskfile.yml - darwin: ./build/darwin/Taskfile.yml - linux: ./build/linux/Taskfile.yml - -vars: - APP_NAME: "core-ide" - BIN_DIR: "bin" - VITE_PORT: '{{.WAILS_VITE_PORT | default 9245}}' - -tasks: - build: - summary: Builds the application - cmds: - - task: "{{OS}}:build" - - package: - summary: Packages a production build of the application - cmds: - - task: "{{OS}}:package" - - run: - summary: Runs the application - cmds: - - task: "{{OS}}:run" - - dev: - summary: Runs the application in development mode - cmds: - - wails3 dev -config ./build/config.yml -port {{.VITE_PORT}} -