I'm working on a Swift-project (an iOS-app) where a webview is used to show an HTML-document. This document is manipulated by some JS, which is compiled and minified from TypeScript. There's also SASS being compiled to CSS.
There's obviously quite some building going on here. There's also quite a bit of package management. Both parts use separate builders and package managers, and would in some circumstances be viewed as entirely separate projects. They're however inseparable.
How does one - when a project like this becomes more complex with even more parts to it - manage this?
Should the build scripts from one part be forked onto the build script from the other part? If so, which should be considered the main one? Or would you write a custom build script that manages the entire project?
What about gits? Should the entire project be a single git-repo? It could be split up, but changes in one part would mean changes in another part as they work together, so how do you keep this clear with multiple gits?