Skip to content

Commit b2fa46b

Browse files
authored
Merge pull request #2 from bing-framework/feature/add_ftp
publish 1.5.0
2 parents a05342f + 72b4a4a commit b2fa46b

File tree

799 files changed

+47802
-9728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

799 files changed

+47802
-9728
lines changed

.gitattributes

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

.github/workflows/dotnet.yml

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,33 @@
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
33

44
name: .NET
5-
5+
run-name: ${{ github.actor }} is publishing a nuget package 🚀
66
on:
77
push:
8-
branches: [ "main" ]
9-
pull_request:
10-
branches: [ "main" ]
8+
branches:
9+
- main
1110

1211
jobs:
12+
1313
build:
14-
15-
runs-on: ubuntu-latest
16-
14+
if: github.ref_name == 'main'
15+
name: Build
16+
runs-on: ${{ matrix.os }}
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os: [windows-latest, ubuntu-latest, macos-latest]
1721
steps:
1822
- uses: actions/checkout@v4
1923
- name: Setup .NET
2024
uses: actions/setup-dotnet@v4
2125
with:
2226
dotnet-version: 8.0.x
23-
- name: Restore dependencies
24-
run: dotnet restore
27+
- name: Install FlubuCore
28+
run: dotnet tool install --global FlubuCore.Tool --version 8.0.0
2529
- name: Build
26-
run: dotnet build --no-restore
30+
run: flubu Build
2731
- name: Test
28-
run: dotnet test --no-build --verbosity normal
32+
run: flubu test
33+
- name: pack
34+
run: flubu nuget.publish -nugetKey=${{ secrets.NUGET_API_KEY }} -env=prod

.vscode/settings.json

Lines changed: 174 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,174 @@
1+
{
2+
"GitCommitPlugin.CustomCommitType": [
3+
4+
{
5+
"key": "feat",
6+
"label": "feat",
7+
"detail": "引入新功能",
8+
"icon": ""
9+
},
10+
{
11+
"key": "fix",
12+
"label": "fix",
13+
"detail": "修复bug",
14+
"icon": "🐛"
15+
},
16+
{
17+
"key": "wip",
18+
"label": "wip",
19+
"detail": "开发中",
20+
"icon": "🚧"
21+
},
22+
{
23+
"key": "style",
24+
"label": "style",
25+
"detail": "更新UI和样式文件",
26+
"icon": "💄"
27+
},
28+
{
29+
"key": "perf",
30+
"label": "perf",
31+
"detail": "提高性能/优化",
32+
"icon": "👌"
33+
},
34+
{
35+
"key": "refactor",
36+
"label": "refactor",
37+
"detail": "改进代码结构/代码格式",
38+
"icon": "🎨"
39+
},
40+
{
41+
"key": "revert",
42+
"label": "revert",
43+
"detail": "修改工具相关(包括但不限于文档、代码生成等)",
44+
"icon": ""
45+
},
46+
{
47+
"key": "test",
48+
"label": "test",
49+
"detail": "增加测试代码",
50+
"icon": ""
51+
},
52+
{
53+
"key": "format",
54+
"label": "format",
55+
"detail": "格式化代码",
56+
"icon": "🥚"
57+
},
58+
{
59+
"key": "docs",
60+
"label": "docs",
61+
"detail": "添加/更新文档",
62+
"icon": "📝"
63+
},
64+
{
65+
"key": "chore",
66+
"label": "chore",
67+
"detail": "修改工具相关(包括但不限于文档、代码生成等)",
68+
"icon": "🐳"
69+
},
70+
{
71+
"key": "merge",
72+
"label": "merge",
73+
"detail": "合并分支",
74+
"icon": "🔀"
75+
},
76+
{
77+
"key": "remove",
78+
"label": "remove",
79+
"detail": "废弃或移除",
80+
"icon": "🗑"
81+
},
82+
{
83+
"key": "types",
84+
"label": "types",
85+
"detail": "增加或更新类型(types)",
86+
"icon": "🏷"
87+
},
88+
{
89+
"key": "ci",
90+
"label": "ci",
91+
"detail": "增加或更新类型(types)",
92+
"icon": "👷"
93+
},
94+
{
95+
"key": "init",
96+
"label": "init",
97+
"detail": "初次提交/初始化项目",
98+
"icon": "🎉"
99+
},
100+
{
101+
"key": "patch",
102+
"label": "patch",
103+
"detail": "添加重要补丁",
104+
"icon": "🚑"
105+
},
106+
{
107+
"key": "file",
108+
"label": "file",
109+
"detail": "添加新文件",
110+
"icon": "📦"
111+
},
112+
{
113+
"key": "publish",
114+
"label": "publish",
115+
"detail": "发布新版本",
116+
"icon": "🚀"
117+
},
118+
{
119+
"key": "tag",
120+
"label": "tag",
121+
"detail": "发布版本/添加标签",
122+
"icon": "📌"
123+
},
124+
{
125+
"key": "config",
126+
"label": "config",
127+
"detail": "修改配置文件",
128+
"icon": "🔧"
129+
},
130+
{
131+
"key": "git",
132+
"label": "git",
133+
"detail": "添加或修改.gitignore文件",
134+
"icon": "🙈"
135+
},
136+
{
137+
"key": "deps",
138+
"label": "deps",
139+
"detail": "升级依赖",
140+
"icon": "⬆️"
141+
},
142+
{
143+
"label": "增加依赖",
144+
"detail": "增加一个依赖",
145+
"icon": ""
146+
},
147+
{
148+
"label": "减少依赖",
149+
"detail": "减少一个依赖",
150+
"icon": ""
151+
},
152+
{
153+
"label": "apple",
154+
"detail": "修复 macOS 下的问题",
155+
"icon": "🍎"
156+
},
157+
{
158+
"label": "linux",
159+
"detail": "修复 Linux 下的问题",
160+
"icon": "🐧"
161+
},
162+
{
163+
"label": "windows",
164+
"detail": "修复 Windows 下的问题",
165+
"icon": "🏁"
166+
},
167+
{
168+
"label": "糊屎",
169+
"detail": "写了辣鸡代码需要优化",
170+
"icon": "💩"
171+
}
172+
],
173+
"GitCommitPlugin.MaxSubjectCharacters": 50
174+
}

0 commit comments

Comments
 (0)