Skip to content

Commit 027937f

Browse files
committed
Add project files.
0 parents  commit 027937f

20 files changed

+988
-0
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/dependabot.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "nuget" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"
12+
open-pull-requests-limit: 10
13+
- package-ecosystem: "github-actions"
14+
directory: "/"
15+
schedule:
16+
interval: "weekly"

.github/workflows/build.yml

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: build
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches: [ "master" ]
7+
pull_request:
8+
9+
jobs:
10+
11+
build:
12+
13+
permissions:
14+
contents: write
15+
pull-requests: write
16+
17+
runs-on: windows-latest
18+
19+
env:
20+
Solution_Path: Flow.Launcher.Plugin.DialogJump.Files.sln
21+
Project_Path: build\Build.csproj
22+
23+
steps:
24+
25+
# Checkout codes
26+
- name: Checkout
27+
uses: actions/checkout@v5
28+
29+
# Install the .NET Core workload
30+
- name: Setup .NET
31+
uses: actions/setup-dotnet@v4
32+
with:
33+
dotnet-version: |
34+
9.0.x
35+
36+
# Restore dependencies for entire solution
37+
- name: Restore dependencies
38+
run: dotnet restore ${{ env.Solution_Path }}
39+
40+
# Build the entire solution
41+
- name: Build
42+
run: dotnet build ${{ env.Solution_Path }} --configuration Release
43+
44+
# Execute all unit tests in the solution
45+
- name: Execute unit tests
46+
run: dotnet test ${{ env.Solution_Path }} --configuration Release --no-build
47+
48+
# Run the build task
49+
- name: Run build task
50+
run: dotnet run --project ${{ env.Project_Path }}
51+
52+
# Upload the Build package
53+
- name: Upload Build package
54+
uses: actions/upload-artifact@v4
55+
with:
56+
path: |
57+
output/Window Manager*.zip
58+
compression-level: 0

.github/workflows/publish.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: publish
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
tags:
7+
- '*'
8+
9+
jobs:
10+
11+
build:
12+
13+
permissions:
14+
contents: write
15+
16+
runs-on: windows-latest
17+
18+
env:
19+
Project_Path: build\Build.csproj
20+
21+
steps:
22+
23+
# Checkout codes
24+
- name: Checkout
25+
uses: actions/checkout@v5
26+
27+
# Install the .NET Core workload
28+
- name: Setup .NET
29+
uses: actions/setup-dotnet@v4
30+
with:
31+
dotnet-version: |
32+
9.0.x
33+
34+
# Restore dependencies
35+
- name: Restore dependencies
36+
run: dotnet restore ${{ env.Project_Path }}
37+
38+
# Build the project
39+
- name: Build
40+
run: dotnet build ${{ env.Project_Path }} --configuration Release --no-restore
41+
42+
# Run the build task
43+
- name: Run build task
44+
run: dotnet run --project ${{ env.Project_Path }}
45+
46+
# Get package version
47+
- name: Get Package Version
48+
id: version
49+
uses: notiz-dev/github-action-json-property@release
50+
with:
51+
path: "src/Flow.Launcher.Plugin.DialogJump.Files/plugin.json"
52+
prop_path: "Version"
53+
54+
# Publish to GitHub releases
55+
- name: Publish
56+
uses: softprops/action-gh-release@v2
57+
with:
58+
files: |
59+
output/Window Manager*.zip
60+
tag_name: "v${{ steps.version.outputs.prop }}"

.gitignore

Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
.idea/
2+
output/
3+
.vscode/
4+
design/*.png
5+
*.xcf
6+
*.bak
7+
ConsoleApp*/
8+
Ignore*
9+
*.sqlite
10+
copy*.ps1
11+
QueryHandler.cs
12+
*PluginApi.cs
13+
14+
## Ignore Visual Studio temporary files, build results, and
15+
## files generated by popular Visual Studio add-ons.
16+
17+
# User-specific files
18+
*.suo
19+
*.user
20+
*.sln.docstates
21+
22+
# Build results
23+
24+
[Dd]ebug/
25+
[Rr]elease/
26+
x64/
27+
28+
[Bb]in/
29+
[Oo]bj/
30+
.nuget/
31+
32+
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
33+
!packages/*/build/
34+
35+
# MSTest test Results
36+
[Tt]est[Rr]esult*/
37+
[Bb]uild[Ll]og.*
38+
39+
*_i.c
40+
*_p.c
41+
*.ilk
42+
*.meta
43+
*.obj
44+
*.pch
45+
*.pdb
46+
*.pgc
47+
*.pgd
48+
*.rsp
49+
*.sbr
50+
*.tlb
51+
*.tli
52+
*.tlh
53+
*.tmp
54+
*.tmp_proj
55+
*.log
56+
*.vspscc
57+
*.vssscc
58+
.builds
59+
*.pidb
60+
*.log
61+
*.scc
62+
63+
# Visual C++ cache files
64+
ipch/
65+
*.aps
66+
*.ncb
67+
*.opensdf
68+
*.sdf
69+
*.cachefile
70+
71+
# Visual Studio profiler
72+
*.psess
73+
*.vsp
74+
*.vspx
75+
76+
# Guidance Automation Toolkit
77+
*.gpState
78+
79+
# ReSharper is a .NET coding add-in
80+
_ReSharper*/
81+
*.[Rr]e[Ss]harper
82+
83+
# TeamCity is a build add-in
84+
_TeamCity*
85+
86+
# DotCover is a Code Coverage Tool
87+
*.dotCover
88+
89+
# NCrunch
90+
*.ncrunch*
91+
.*crunch*.local.xml
92+
93+
# Installshield output folder
94+
[Ee]xpress/
95+
96+
# DocProject is a documentation generator add-in
97+
DocProject/buildhelp/
98+
DocProject/Help/*.HxT
99+
DocProject/Help/*.HxC
100+
DocProject/Help/*.hhc
101+
DocProject/Help/*.hhk
102+
DocProject/Help/*.hhp
103+
DocProject/Help/Html2
104+
DocProject/Help/html
105+
106+
# Click-Once directory
107+
publish/
108+
109+
# Publish Web Output
110+
*.Publish.xml
111+
112+
# NuGet Packages Directory
113+
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
114+
#packages/
115+
116+
# Windows Azure Build Output
117+
csx
118+
*.build.csdef
119+
120+
# Windows Store app package directory
121+
AppPackages/
122+
123+
# Others
124+
sql/
125+
.vs
126+
*.Cache
127+
ClientBin/
128+
[Ss]tyle[Cc]op.*
129+
~$*
130+
*~
131+
*.dbmdl
132+
*.[Pp]ublish.xml
133+
*.pfx
134+
*.publishsettings
135+
136+
# RIA/Silverlight projects
137+
Generated_Code/
138+
139+
# Backup & report files from converting an old project file to a newer
140+
# Visual Studio version. Backup files are not needed, because we have git ;-)
141+
_UpgradeReport_Files/
142+
Backup*/
143+
UpgradeLog*.XML
144+
UpgradeLog*.htm
145+
146+
# SQL Server files
147+
App_Data/*.mdf
148+
App_Data/*.ldf
149+
150+
151+
#LightSwitch generated files
152+
GeneratedArtifacts/
153+
_Pvt_Extensions/
154+
ModelManifest.xml
155+
156+
# =========================
157+
# Windows detritus
158+
# =========================
159+
160+
# Windows image file caches
161+
Thumbs.db
162+
ehthumbs.db
163+
164+
# Folder config file
165+
Desktop.ini
166+
167+
# Recycle Bin used on file shares
168+
$RECYCLE.BIN/
169+
170+
# Mac desktop service store files
171+
.DS_Store

0 commit comments

Comments
 (0)