diff --git a/.github/workflows/PubtoPrivate.yml b/.github/workflows/PubtoPrivate.yml deleted file mode 100644 index e565103cf..000000000 --- a/.github/workflows/PubtoPrivate.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Sync Pub with Private (Mirror) - -on: - workflow_dispatch: - schedule: - - cron: "0 23 * * *" - -jobs: - sync: - runs-on: ubuntu-latest - - steps: - - name: Sync Fork with Upstream - # You may pin to the exact commit or the version. - uses: yesolutions/mirror-action@v0.6.0 - on: [push] - with: - # The remote ref name to use. 'mirror' by default. Useful to avoid conflicts with existing remotes. - REMOTE_NAME: ci-cd-litewallet-ios - # The remote repository e.g. /~https://github.com/octocat/foo.git or git@github.com:octocat/foo.git - REMOTE: /~https://github.com/litecoin-foundation/ci-cd-litewallet-ios.git - # Username for remote repository - GIT_USERNAME: kcw-grunt - # The git https password or token for the remote repository - GIT_PASSWORD: ${{ secrets.GITHUB_TOKEN }} - # The ssh private key for writing to the remote repository, if using ssh - GIT_SSH_PRIVATE_KEY: # optional - # The ssh public key for writing to the remote repository. Normally, not required at all - GIT_SSH_PUBLIC_KEY: # optional - # The contents of a SSH known_hosts file for host key verification - GIT_SSH_KNOWN_HOSTS: # optional - # if true, skips host key verification. Mutually exclusive with GIT_SSH_KNOWN_HOSTS - GIT_SSH_NO_VERIFY_HOST: # optional, default is false - # Push all refs instead of just the current branch - PUSH_ALL_REFS: # optional, default is true - # The arugments to use when pushing the repository - GIT_PUSH_ARGS: # optional, default is --tags --force --prune - # set to "true" to enable debug mode - DEBUG: # optional, default is false diff --git a/.gitignore b/.gitignore index 730e9d7ce..fc1adee1e 100644 --- a/.gitignore +++ b/.gitignore @@ -46,4 +46,4 @@ BuildTools/.swiftpm # Sensitive Partner API Modules/litewallet-partner-api-ios -litewallet-partner-api-ios \ No newline at end of file +litewallet-partner-api-ios diff --git a/loafwallet.xcodeproj/project.pbxproj b/loafwallet.xcodeproj/project.pbxproj index 77ba71ac5..dcb3aba66 100644 --- a/loafwallet.xcodeproj/project.pbxproj +++ b/loafwallet.xcodeproj/project.pbxproj @@ -3886,6 +3886,43 @@ shellPath = /bin/sh; shellScript = "cd BuildTools\nSDKROOT=(xcrun --sdk macosx --show-sdk-path)\n#swift package update #Uncomment this line temporarily to update the version used to the latest matching your BuildTools/Package.swift file\nswift run -c release swiftformat \"$SRCROOT\"\n"; }; + 583FE8702927ED5A009A6384 /* Run SwiftFormat */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = "Run SwiftFormat"; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "cd BuildTools\nSDKROOT=(xcrun --sdk macosx --show-sdk-path)\n#swift package update #Uncomment this line temporarily to update the version used to the latest matching your BuildTools/Package.swift file\nswift run -c release swiftformat \"$SRCROOT\"\n"; + }; + 58A9FE4829191E4700B75825 /* Check for unused code */ = { + isa = PBXShellScriptBuildPhase; + alwaysOutOfDate = 1; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = "Check for unused code"; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "file=\"unused.rb\"\nif [ -f \"$file\" ]\nthen\necho \"$file found.\"\nruby unused.rb xcode\nelse\necho \"unused.rb doesn't exist\"\nfi\n"; + }; 58A9FE4C291BC37400B75825 /* Count number of swift lines */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647;