Skip to content

Commit

Permalink
Remove prefixes on folder names.
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacabraham committed May 31, 2020
1 parent 99c84cd commit 97a0124
Show file tree
Hide file tree
Showing 22 changed files with 25 additions and 26 deletions.
25 changes: 12 additions & 13 deletions Content/.template.config/template.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,33 +38,32 @@
".paket/**",
".vscode/**",
".editorconfig",
"RELEASE_NOTES.md",
"**/paket.*",
"*.fsx",
"src/SAFE.App.Client/package.default.json",
"src/SAFE.App.Client/package-lock.default.json",
"src/SAFE.App.Client/webpack.default.config.js",
"src/Client/package.default.json",
"src/Client/package-lock.default.json",
"src/Client/webpack.default.config.js",
"README.md"
],
"condition": "(minimal)"
},
{
"exclude": [
"src/SAFE.App.Client/package.minimal.json",
"src/SAFE.App.Client/package-lock.minimal.json",
"src/SAFE.App.Client/webpack.minimal.config.js",
"src/Client/package.minimal.json",
"src/Client/package-lock.minimal.json",
"src/Client/webpack.minimal.config.js",
"README-minimal.md"
],
"condition": "(!minimal)"
},
{
"rename": {
"src/SAFE.App.Client/webpack.default.config.js": "src/SAFE.App.Client/webpack.config.js",
"src/SAFE.App.Client/webpack.minimal.config.js": "src/SAFE.App.Client/webpack.config.js",
"src/SAFE.App.Client/package.minimal.json": "src/SAFE.App.Client/package.json",
"src/SAFE.App.Client/package.default.json": "src/SAFE.App.Client/package.json",
"src/SAFE.App.Client/package-lock.minimal.json": "src/SAFE.App.Client/package-lock.json",
"src/SAFE.App.Client/package-lock.default.json": "src/SAFE.App.Client/package-lock.json",
"src/Client/webpack.default.config.js": "src/Client/webpack.config.js",
"src/Client/webpack.minimal.config.js": "src/Client/webpack.config.js",
"src/Client/package.minimal.json": "src/Client/package.json",
"src/Client/package.default.json": "src/Client/package.json",
"src/Client/package-lock.minimal.json": "src/Client/package-lock.json",
"src/Client/package-lock.default.json": "src/Client/package-lock.json",
"README-minimal.md": "README.md"
}
}
Expand Down
4 changes: 2 additions & 2 deletions Content/README-minimal.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ You'll need to install the following pre-requisites in order to build SAFE appli
## Starting the application
Start the server:
```bash
cd src\SAFE.App.server\
cd src\Server\
dotnet run
```

Start the client:
```bash
cd src\SAFE.App.Client\
cd src\Client\
npm install
npm run start
```
Expand Down
6 changes: 3 additions & 3 deletions Content/SAFE.App.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.27004.2005
MinimumVisualStudioVersion = 10.0.40219.1
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "SAFE.App.Client", "src\SAFE.App.Client\SAFE.App.Client.fsproj", "{73E8E820-C8AA-47CC-BB2B-152CA4D0B855}"
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "SAFE.App.Shared", "src\Shared\SAFE.App.Shared.fsproj", "{28F090FB-E75F-4BE9-9E09-A70B1DA02C88}"
EndProject
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "SAFE.App.Server", "src\SAFE.App.Server\SAFE.App.Server.fsproj", "{73E8E820-C8AA-47CC-BB2B-152CA4D0B856}"
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "SAFE.App.Server", "src\Server\SAFE.App.Server.fsproj", "{73E8E820-C8AA-47CC-BB2B-152CA4D0B856}"
EndProject
Project("{F2A71F9B-5D33-465A-A702-920D77279786}") = "SAFE.App.Shared", "src\SAFE.App.Shared\SAFE.App.Shared.fsproj", "{28F090FB-E75F-4BE9-9E09-A70B1DA02C88}"
Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "SAFE.App.Client", "src\Client\SAFE.App.Client.fsproj", "{73E8E820-C8AA-47CC-BB2B-152CA4D0B855}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{08CCFCF6-2248-43ED-A6EF-E972A2DA0E6A}"
ProjectSection(SolutionItems) = preProject
Expand Down
4 changes: 2 additions & 2 deletions Content/build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ open Farmer.Builders

Target.initEnvironment ()

let serverPath = Path.getFullName "./src/SAFE.App.Server"
let clientPath = Path.getFullName "./src/SAFE.App.Client"
let serverPath = Path.getFullName "./src/Server"
let clientPath = Path.getFullName "./src/Client"
let deployDir = Path.getFullName "./deploy"

let npm args workingDir =
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<Compile Include="Client.fs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SAFE.App.Shared\SAFE.App.Shared.fsproj" />
<ProjectReference Include="..\Shared\SAFE.App.Shared.fsproj" />
</ItemGroup>
<!--#if (minimal)
<ItemGroup>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<Compile Include="Server.fs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SAFE.App.Shared\SAFE.App.Shared.fsproj" />
<ProjectReference Include="..\Shared\SAFE.App.Shared.fsproj" />
</ItemGroup>
<!--#if (minimal)
<ItemGroup>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions SAFE.Template.proj
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ Content/src/**/obj/**/*;
Content/src/**/bin/**/*;
Content/packages/**/*;
Content/paket-files/**/*;
Content/src/SAFE.App.Client/.fable/**/*;
Content/src/SAFE.App.Client/node_modules/**/*;
Content/src/SAFE.App.Client/deploy/**/*;
Content/src/Client/.fable/**/*;
Content/src/Client/node_modules/**/*;
Content/src/Client/deploy/**/*;
</ExcludeFromPackage>
</PropertyGroup>
<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion build.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Target.create "Clean" (fun _ ->

Target.create "BuildWebPackConfig" (fun _ ->
let srcDir = "paket-files/fable-compiler/webpack-config-template/webpack.config.js"
let destDir = "Content/src/SAFE.App.Client/webpack.config.js"
let destDir = "Content/src/Client/webpack.config.js"
Shell.copyFile destDir srcDir

let devServerProxy =
Expand Down

0 comments on commit 97a0124

Please sign in to comment.