Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

997 B
Raw Blame
[build]
  # by setting a custom base directory, we prevent Netlify from running
  # `swift build` in the root directory, which builds more targets than
  # we need.
  base = "Documentation/"
  publish = "xtool.docc/.docc-build"
  command = "./build.sh"
  environment = { SWIFT_VERSION = "6.4.2" }
  ignore = "git -C .. diff --quiet $CACHED_COMMIT_REF $COMMIT_REF -- Documentation netlify.toml"

[[redirects]]
  from = "/"
  to = "/documentation/xtool/"
  status = 302
  force = true

[[redirects]]
  from = "/documentation"
  to = "/documentation/xtool/"
  status = 302
  force = true

[[redirects]]
  from = "/tutorials"
  to = "/tutorials/xtool"
  status = 302
  force = true

# --- Backwards compatibility ---

[[redirects]]
  from = "/tutorials/toc"
  to = "/tutorials/xtool"
  status = 302

[[redirects]]
  from = "/documentation/xtooldocs/*"
  to = "/documentation/xtool/:splat"
  status = 302

[[redirects]]
  from = "/tutorials/xtooldocs/*"
  to = "/tutorials/xtool/:splat"
  status = 302