Comments (5)
Package.swift
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"),
.package(url: "https://github.com/vapor/leaf.git", from: "4.0.0"),
],
targets: [
.target(
name: "App",
dependencies: [
.product(name: "Vapor", package: "vapor"),
],
Leaf dependency is added but not to the target too.
from template.
It's very confusing because the syntax looks right for the scenarios where it does work and doesn't work.
My best guess is it seems to always manage the first tag, but not the subsequent ones? Like it'll do the import, but not the statement. It'll add the dependency but not to the target. Always the first one?
from template.
This issue probably belongs more in the toolkit repo, on reflection. I'm just seeing if I can reproduce the issue with a unit test over there :)
from template.
Very perplexing... my unit test is passing 🤔 Same exact template as what is failing here...
from template.
and that my friends is because this bug has been fixed in a more recent version of the toolbox. turns out when I thought I updated last week, it didn't.
sorry for the unnecessary prompt! all is good
from template.
Related Issues (20)
- Migrate the template to modern concurrency
- Migrate to using static linking in the Dockerfile
- Add CI to the template
- Public directory not added when using the template
- Add CI to test the template HOT 1
- CI should only build the toolbox once
- Generating Templates Failing HOT 3
- Dockerfile is missing Swift runtime dependencies, causing runtime crashes HOT 7
- Add a trivial `async` example route to "bare" template HOT 3
- Template app does not run HOT 7
- DockerFile using swift:5.7-jammy does not work HOT 3
- Docker buildx crashes when cross-compiling amd64 image on Apple Silicon Mac HOT 3
- Reporting a vulnerability HOT 1
- Include a ReadMe file HOT 1
- Dockerfile Failing to Build on First Try HOT 1
- ERROR [build 9/12] RUN cp "$(swift build --package-path /build -c release --show-bin-path)/App" ./ HOT 2
- Add repository Topics to enable discovery by topic search, e.g. "topic:template topic:vapor topic:vapor-4" HOT 1
- Add a VSCode devcontainer to the template repo HOT 1
- Support setting `MTELG.singleton` as Swift Concurrency executor HOT 4
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 template.