Skip to content

Commit ecb3533

Browse files
Rewrite most things (#10)
1 parent a9f73b5 commit ecb3533

Some content is hidden

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

64 files changed

+3192
-3341
lines changed

.github/workflows/build.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
name: build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
11+
env:
12+
DOTNET_CLI_TELEMETRY_OPTOUT: 1
13+
POWERSHELL_TELEMETRY_OPTOUT: 1
14+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
15+
DOTNET_NOLOGO: true
16+
17+
defaults:
18+
run:
19+
shell: pwsh
20+
21+
jobs:
22+
build:
23+
name: Build
24+
runs-on: ${{ matrix.os }}
25+
strategy:
26+
fail-fast: false
27+
matrix:
28+
os: [ windows-latest ]
29+
steps:
30+
- uses: actions/checkout@v1
31+
- name: Build
32+
run: ./build.ps1 -Force
33+
- uses: actions/upload-artifact@v1
34+
if: matrix.os == 'windows-latest'
35+
with:
36+
name: ImpliedReflection
37+
path: ./Release/ImpliedReflection
38+
- uses: actions/upload-artifact@v1
39+
if: matrix.os != 'windows-latest'
40+
with:
41+
name: ImpliedReflection-${{ matrix.os }}
42+
path: ./Release/ImpliedReflection

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
## Ignore Visual Studio temporary files, build results, and
22
## files generated by popular Visual Studio add-ons.
33

4-
tools/ResGen
54
src/ImpliedReflection/gen
5+
lib/
66

77
# User-specific files
88
*.suo

.vscode/launch.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
66
"configurations": [
7+
{
8+
"name": "PowerShell Launch Current File",
9+
"type": "PowerShell",
10+
"request": "launch",
11+
"script": "${file}",
12+
"cwd": "${file}"
13+
},
714
{
815
"name": ".NET FullCLR Attach",
916
"type": "clr",

.vscode/tasks.json

Lines changed: 47 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
{
1010
// See https://go.microsoft.com/fwlink/?LinkId=733558
1111
// for the documentation about the tasks.json format
12-
"version": "0.1.0",
12+
"version": "2.0.0",
1313
"runner": "terminal",
1414

1515
// Start PowerShell
@@ -26,68 +26,83 @@
2626
// The command is a shell script
2727
"isShellCommand": true,
2828

29-
// Show the output window always
30-
"showOutput": "always",
31-
3229
"args": [
3330
"-NoProfile", "-ExecutionPolicy", "Bypass"
3431
],
3532

3633
// Associate with test task runner
3734
"tasks": [
3835
{
39-
"taskName": "Clean",
40-
"suppressTaskName": true,
41-
"showOutput": "always",
36+
"label": "Clean",
37+
"type": "shell",
4238
"args": [
39+
"-NoProfile",
40+
"-ExecutionPolicy",
41+
"Bypass",
4342
"Invoke-Build -Task Clean"
44-
]
43+
],
44+
"problemMatcher": []
4545
},
4646
{
47-
"taskName": "Build",
48-
"suppressTaskName": true,
49-
"isBuildCommand": true,
50-
"showOutput": "always",
47+
"label": "Build",
48+
"type": "shell",
5149
"args": [
50+
"-NoProfile",
51+
"-ExecutionPolicy",
52+
"Bypass",
5253
"Invoke-Build"
53-
]
54+
],
55+
"problemMatcher": [],
56+
"group": "build"
5457
},
5558
{
56-
"taskName": "BuildHelp",
57-
"suppressTaskName": true,
58-
"showOutput": "always",
59+
"label": "BuildHelp",
60+
"type": "shell",
5961
"args": [
62+
"-NoProfile",
63+
"-ExecutionPolicy",
64+
"Bypass",
6065
"Invoke-Build -Task BuildDocs"
61-
]
66+
],
67+
"problemMatcher": []
6268
},
6369
{
64-
"taskName": "Analyze",
65-
"suppressTaskName": true,
66-
"showOutput": "always",
70+
"label": "Analyze",
71+
"type": "shell",
6772
"args": [
73+
"-NoProfile",
74+
"-ExecutionPolicy",
75+
"Bypass",
6876
"Invoke-Build -Task Analyze"
69-
]
77+
],
78+
"problemMatcher": []
7079
},
7180
{
72-
"taskName": "Install",
73-
"suppressTaskName": true,
74-
"showOutput": "always",
81+
"label": "Install",
82+
"type": "shell",
7583
"args": [
84+
"-NoProfile",
85+
"-ExecutionPolicy",
86+
"Bypass",
7687
"Invoke-Build -Task Install"
77-
]
88+
],
89+
"problemMatcher": []
7890
},
7991
{
80-
"taskName": "Test",
81-
"suppressTaskName": true,
82-
"isTestCommand": true,
83-
"showOutput": "always",
92+
"label": "Test",
93+
"type": "shell",
8494
"args": [
95+
"-NoProfile",
96+
"-ExecutionPolicy",
97+
"Bypass",
8598
"Invoke-Build -Task Test"
8699
],
87100
"problemMatcher": [
88101
{
89102
"owner": "powershell",
90-
"fileLocation": ["absolute"],
103+
"fileLocation": [
104+
"absolute"
105+
],
91106
"severity": "error",
92107
"pattern": [
93108
{
@@ -101,8 +116,8 @@
101116
}
102117
]
103118
}
104-
]
119+
],
120+
"group": "test"
105121
}
106122
]
107123
}
108-

0 commit comments

Comments
 (0)