Skip to content

Commit 9b8a3c1

Browse files
author
Penny[bot]
committed
Autogenerated from git://github.com/vapor/template.git@c5e8a8894ca28b221c45f08cf7e2c36413e0e80e
1 parent 1b2b171 commit 9b8a3c1

File tree

12 files changed

+10
-10
lines changed

12 files changed

+10
-10
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ COPY . .
2626
# Build the application, with optimizations, with static linking, and using jemalloc
2727
# N.B.: The static version of jemalloc is incompatible with the static Swift runtime.
2828
RUN swift build -c release \
29-
--product App \
29+
--product TemplateFluentPostgresLeaf \
3030
--static-swift-stdlib \
3131
-Xlinker -ljemalloc
3232

3333
# Switch to the staging area
3434
WORKDIR /staging
3535

3636
# Copy main executable to staging area
37-
RUN cp "$(swift build --package-path /build -c release --show-bin-path)/App" ./
37+
RUN cp "$(swift build --package-path /build -c release --show-bin-path)/TemplateFluentPostgresLeaf" ./
3838

3939
# Copy static swift backtracer binary to staging area
4040
RUN cp "/usr/libexec/swift/linux/swift-backtrace-static" ./
@@ -85,5 +85,5 @@ USER vapor:vapor
8585
EXPOSE 8080
8686

8787
# Start the Vapor service when the image is run, default to listening on 8080 in production environment
88-
ENTRYPOINT ["./App"]
88+
ENTRYPOINT ["./TemplateFluentPostgresLeaf"]
8989
CMD ["serve", "--env", "production", "--hostname", "0.0.0.0", "--port", "8080"]

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import PackageDescription
33

44
let package = Package(
5-
name: "template-fluent-postgres-leaf",
5+
name: "TemplateFluentPostgresLeaf",
66
platforms: [
77
.macOS(.v13)
88
],
@@ -20,7 +20,7 @@ let package = Package(
2020
],
2121
targets: [
2222
.executableTarget(
23-
name: "App",
23+
name: "TemplateFluentPostgresLeaf",
2424
dependencies: [
2525
.product(name: "Fluent", package: "fluent"),
2626
.product(name: "FluentPostgresDriver", package: "fluent-postgres-driver"),
@@ -32,9 +32,9 @@ let package = Package(
3232
swiftSettings: swiftSettings
3333
),
3434
.testTarget(
35-
name: "AppTests",
35+
name: "TemplateFluentPostgresLeafTests",
3636
dependencies: [
37-
.target(name: "App"),
37+
.target(name: "TemplateFluentPostgresLeaf"),
3838
.product(name: "VaporTesting", package: "vapor"),
3939
],
4040
swiftSettings: swiftSettings

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# template-fluent-postgres-leaf
1+
# TemplateFluentPostgresLeaf
22

33
💧 A project built with the Vapor web framework.
44

Tests/AppTests/AppTests.swift renamed to Tests/TemplateFluentPostgresLeafTests/TemplateFluentPostgresLeafTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
@testable import App
1+
@testable import TemplateFluentPostgresLeaf
22
import VaporTesting
33
import Testing
44
import Fluent
55

66
@Suite("App Tests with DB", .serialized)
7-
struct AppTests {
7+
struct TemplateFluentPostgresLeafTests {
88
private func withApp(_ test: (Application) async throws -> ()) async throws {
99
let app = try await Application.make(.testing)
1010
do {

0 commit comments

Comments
 (0)