맥 테스트 환경 추가

This commit is contained in:
leedongmyung 2023-11-10 07:02:47 +09:00
parent 1d23272ea3
commit 7134184c5e
5 changed files with 47 additions and 6 deletions

9
.vscode/launch.json vendored
View file

@ -19,12 +19,19 @@
"args": ["install", "-h"]
},
{
"name": "exe",
"name": "exe win",
"request": "launch",
"type": "dart",
"program": "./bin/main.dart",
"args": ["exe", "-f ./build_win.yaml"]
},
{
"name": "exe osx",
"request": "launch",
"type": "dart",
"program": "./bin/main.dart",
"args": ["exe", "-f ./build_osx.yaml"]
},
{
"name": "test",
"request": "launch",

View file

@ -1 +1 @@
{"name":"Build Manager","version":"0.0.16","gitHash":"3e51c48f756f5b5d0ef9643309ebe0f3df2ce025","buildDate":"2023-11-04 18:48:24"}
{"name":"OTO","version":"0.0.48","gitHash":"1d23272ea3c5ec1c18013a35b0e0fe90e6079bfa","buildDate":"2023-11-06 17:46:00"}

31
build_osx.yaml Normal file
View file

@ -0,0 +1,31 @@
---
common:
workspace: "."
commands:
### Version 쓰기
- command: CreateAppData
param:
scm: Git
name: OTO
relativeAssetPath: assets/data
returnVersion: "<!common.version>"
returnHash: "<!common.hash>"
### 프로젝트 패키지 업데이트
- command: BuildDart
param: {}
### 실행가능한 파일로 빌드
- command: BuildDartCompile
param:
targetDartFile: "./bin/main.dart"
buildFileName: oto_cli
### 최종 zip 파일 형태로 저장
- command: Zip
param:
zipFile: "<!common.workspace>/release/oto_osx_v<!common.version>.zip"
zipList:
- "<!common.workspace>/release/oto_service_cli"

View file

@ -55,6 +55,8 @@ class TestData {
{
"command": "BuildDartCompile",
"param": {
"scm": "Git",
"name": "OTO",
"targetPath": "/Users/toki/works/dart/desktop_service_cli",
"targetDartFile": "./bin/desktop_service_cli.dart",
"buildFileName": "desktop_service_cli"
@ -122,6 +124,7 @@ commands:
- command: CreateAppData
param:
scm: Git
name: OTO
relativeAssetPath: assets/data
returnVersion: "<!common.version>"
returnHash: "<!common.hash>"

View file

@ -13,10 +13,10 @@ dependencies:
json_annotation: ^4.8.0
resource_importer: ^0.2.0
dart_framework:
# path: '../dart_framework'
git:
url: toki@toki-labs.com:/Volumes/Data2/git/dart_framework.git
ref: master
path: '../dart_framework'
# git:
# url: toki@toki-labs.com:/Volumes/Data2/git/dart_framework.git
# ref: master
dev_dependencies:
lints: ^3.0.0