Skip to content
This repository was archived by the owner on Aug 1, 2021. It is now read-only.

Commit 9259b06

Browse files
committed
config files
1 parent 3d3b923 commit 9259b06

4 files changed

Lines changed: 4 additions & 102 deletions

File tree

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ jobs:
4141
inputs:
4242
command: 'publish'
4343
publishWebProjects: false
44-
projects: '**/Jp.Management.csproj'
44+
projects: '**/JPProject.Admin.Api.csproj'
4545
arguments: '-c $(BuildConfiguration) -o $(Build.StagingDirectory)/api --no-build'
4646
zipAfterPublish: false
4747
modifyOutputPath: false
48-
workingDirectory: './src/Backend/Jp.UserManagement'
48+
workingDirectory: './src/Backend/JPProject.Admin.Api'
4949

5050
- task: ArchiveFiles@2
5151
displayName: 'Zip - API'

build/build and start.ps1

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,18 @@
11
$currentPath = (Get-Item -Path "./" -Verbose).FullName;
22
$src = (Get-Item -Path "../src" -Verbose).FullName;
3-
$sso = (Get-Item -Path ($src + "/Frontend/Jp.UI.SSO") -Verbose).FullName
4-
$api = (Get-Item -Path ($src + "/Backend/Jp.UserManagement") -Verbose).FullName
5-
$ui = (Get-Item -Path ($src + "/Frontend/Jp.UserManagement") -Verbose).FullName
3+
$api = (Get-Item -Path ($src + "/Backend/JPProject.Admin.Api") -Verbose).FullName
64
$adminui = (Get-Item -Path ($src + "/Frontend/Jp.AdminUI") -Verbose).FullName
75

8-
$paramsSSO= "/c cd " + $sso + " && dotnet run";
96
$paramsAPI= "/c cd " + $api + " && dotnet run";
10-
$paramsUI= "/c cd " + $ui + " && npm start";
117
$paramsAdminUI= "/c cd " + $adminui + " && npm start";
128

139
Write-Information Restore deps
14-
dotnet build $sso
1510
dotnet build $api
1611
# The best way to npm install is from src folder
17-
cd $ui; npm install
18-
cd $currentPath
1912
cd $adminui; npm install
2013
cd $currentPath
2114

2215

2316
# Start-Process -Verb runas "cmd.exe" $paramsSSO;
2417
Start-Process "cmd.exe" $paramsAPI;
25-
Start-Process "cmd.exe" $paramsSSO;
26-
Start-Process "cmd.exe" $paramsUI;
2718
Start-Process "cmd.exe" $paramsAdminUI;

build/build.bat

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11

22
echo Restore nuget dep's
3-
dotnet build "../src/Backend/Jp.UserManagement"
4-
dotnet build "../src/Frontend/Jp.UI.SSO"
5-
6-
CLS
7-
echo Build UserManagement
8-
start /d "../src/Frontend/Jp.UserManagement" npm install
3+
dotnet build "../src/Backend/JPProject.Admin.Api"
94

105
echo Build AdminUi
116
start /d "../src/Frontend/Jp.AdminUI" npm install

build/docker-compose.yml

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)