Skip to content

Commit dd97098

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

File tree

12 files changed

+10
-10
lines changed

12 files changed

+10
-10
lines changed

Dockerfile

+3-3
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 TemplateFluentPostgres \
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)/TemplateFluentPostgres" ./
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 ["./TemplateFluentPostgres"]
8989
CMD ["serve", "--env", "production", "--hostname", "0.0.0.0", "--port", "8080"]

Package.swift

+4-4
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",
5+
name: "TemplateFluentPostgres",
66
platforms: [
77
.macOS(.v13)
88
],
@@ -18,7 +18,7 @@ let package = Package(
1818
],
1919
targets: [
2020
.executableTarget(
21-
name: "App",
21+
name: "TemplateFluentPostgres",
2222
dependencies: [
2323
.product(name: "Fluent", package: "fluent"),
2424
.product(name: "FluentPostgresDriver", package: "fluent-postgres-driver"),
@@ -29,9 +29,9 @@ let package = Package(
2929
swiftSettings: swiftSettings
3030
),
3131
.testTarget(
32-
name: "AppTests",
32+
name: "TemplateFluentPostgresTests",
3333
dependencies: [
34-
.target(name: "App"),
34+
.target(name: "TemplateFluentPostgres"),
3535
.product(name: "VaporTesting", package: "vapor"),
3636
],
3737
swiftSettings: swiftSettings

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# template-fluent-postgres
1+
# TemplateFluentPostgres
22

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

Tests/AppTests/AppTests.swift renamed to Tests/TemplateFluentPostgresTests/TemplateFluentPostgresTests.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
@testable import App
1+
@testable import TemplateFluentPostgres
22
import VaporTesting
33
import Testing
44
import Fluent
55

66
@Suite("App Tests with DB", .serialized)
7-
struct AppTests {
7+
struct TemplateFluentPostgresTests {
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)