diff --git a/.gitignore b/.gitignore index e69a9dd..943449c 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ xcuserdata/ DerivedData/ .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata Wireshark/pre_master_secret_key.log +release diff --git a/Package.swift b/Package.swift index 9d455a0..1c07dc2 100644 --- a/Package.swift +++ b/Package.swift @@ -8,7 +8,7 @@ let package = Package( platforms: [.macOS(.v11), .iOS(.v10)], products: [ // Products define the executables and libraries a package produces, and make them visible to other packages. - .executable(name: "server", targets: ["SimpleHTTPServer"]), + .executable(name: "tlsserver", targets: ["SimpleHTTPServer"]), .library(name: "PracticeTLS", targets: ["PracticeTLS"]), ], dependencies: [ diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..0305ce4 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,4 @@ +git reset --hard +git pull +swift build +cp -r .build/debug/tlsserver ./release \ No newline at end of file