Comments (1)
Was looking at this. To do this in package builder we would need to alter the build-package.sh file
and before we invoke the makefile we would need to do the following:
swift package fetch
This will get all the dependencies and put them in the Packages directory. Next based upon OS we would need to issue the following commands:
Linux:
egrep -R "Apt *\(" Packages/*/Package.swift | sed -e 's/^.*\.Apt *( *" *//' -e 's/".*$//' | sort | uniq
Mac:
egrep -R "Brew *\(" Packages/*/Package.swift | sed -e 's/^.*\.Brew *( *" *//' -e 's/".*$//' | sort | uniq
the sort and uniq portions of the commands were to make sure we don't have duplicates in the list and to order it.
We would probable also want to run those commands on the main Package.swift file of the repo to make sure that it is taken care of as well and add that to the existing list if any.
That new list would need to be sorted and uniqued and passed into either apt-get or brew install commands to get those dependencies installed. Then once that is done we can run the make file portion of package-builder.... that should about cover it.
from swift-buildpack.
Related Issues (20)
- Support Swift 4.2.1 HOT 1
- Support 16.04 Swift binaries HOT 1
- Add support to pass in env variables to enable deployment of Kitura NIO apps HOT 1
- All of my apps are suddenly broken (OpenSSL issue?) HOT 3
- Bug in curl 7.58 (shipped in 18.04) - workaround? HOT 1
- Disk Quota Exceeded HOT 4
- Multiple private repositories HOT 1
- Compiler freezes during docker image creation HOT 1
- Remove logic for importing libdispatch binaries.
- Create CR for deployment of version v2.0.1 to production.
- Add logic to prevent issues when .cfignore file was not present.
- Remove uuid-dev dependency.
- Add support for preview versions. HOT 1
- Revisit caching logic. HOT 2
- Create new zip package (v2.0.1) using new automated logic and then deploy to YS0.
- Test using Windows.
- Replace debs with previous logic for downloading packages. HOT 1
- Determine if we can use draft instead of pre-release. HOT 6
- Upload new ZIP file (buildpack_swift_v2.0.2-20161118-1326.zip) for v2.0.2 of the buildpack to YS0. HOT 3
- Swift 4.1 support HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swift-buildpack.