version: '3' vars: APP_NAME: "code-count" BIN_DIR: "bin" PACKAGE_MANAGER: '{{.PACKAGE_MANAGER | default "npm"}}' VITE_PORT: '{{.WAILS_VITE_PORT | default 9245}}' # Target OS for build/package/run. Defaults to the host OS, and is overridden # by `wails3 build GOOS=...` (or the GOOS env var) for cross-compilation. GOOS: '{{.GOOS | default OS}}' includes: common: ./build/Taskfile.yml windows: ./build/windows/Taskfile.yml darwin: ./build/darwin/Taskfile.yml linux: ./build/linux/Taskfile.yml tasks: build: summary: Builds the application cmds: - task: "{{.GOOS}}:build" package: summary: Packages a production build of the application cmds: - task: "{{.GOOS}}:package" run: summary: Runs the application cmds: - task: "{{.GOOS}}:run" dev: summary: Runs the application in development mode cmds: - wails3 dev -config ./build/config.yml -port {{.VITE_PORT}}