-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathDeployParser.ps1
26 lines (22 loc) · 1.52 KB
/
DeployParser.ps1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
$ErrorActionPreference = "Stop"
cp AccountingServer.QueryGeneration/obj/Gen/net8.0/Query.tokens AccountingServer.BLL/Parsing/
cp AccountingServer.QueryGeneration/obj/Gen/net8.0/QueryLexer.cs AccountingServer.BLL/Parsing/
cp AccountingServer.QueryGeneration/obj/Gen/net8.0/QueryLexer.tokens AccountingServer.BLL/Parsing/
cp AccountingServer.QueryGeneration/obj/Gen/net8.0/QueryParser.cs AccountingServer.BLL/Parsing/
cp AccountingServer.QueryGeneration/obj/Gen/net8.0/Subtotal.tokens AccountingServer.BLL/Parsing/
cp AccountingServer.QueryGeneration/obj/Gen/net8.0/SubtotalLexer.cs AccountingServer.BLL/Parsing/
cp AccountingServer.QueryGeneration/obj/Gen/net8.0/SubtotalLexer.tokens AccountingServer.BLL/Parsing/
cp AccountingServer.QueryGeneration/obj/Gen/net8.0/SubtotalParser.cs AccountingServer.BLL/Parsing/
sed '-i.bak' 's/^public partial class Query/internal partial class Query/' `
AccountingServer.BLL/Parsing/QueryLexer.cs `
AccountingServer.BLL/Parsing/QueryParser.cs
sed '-i.bak' 's/^public partial class Subtotal/internal partial class Subtotal/' `
AccountingServer.BLL/Parsing/SubtotalLexer.cs `
AccountingServer.BLL/Parsing/SubtotalParser.cs
sed '-i.bak' 's/AccountingServer\.QueryGeneration/AccountingServer.BLL.Parsing/' `
AccountingServer.BLL/Parsing/QueryLexer.cs `
AccountingServer.BLL/Parsing/QueryParser.cs
sed '-i.bak' 's/AccountingServer\.QueryGeneration/AccountingServer.BLL.Parsing/' `
AccountingServer.BLL/Parsing/SubtotalLexer.cs `
AccountingServer.BLL/Parsing/SubtotalParser.cs
rm -Force sed*