Max Desiatov
98acbc0ac2
Revert "Use Tokamak 0.2.0 in Template.swift"
...
This reverts commit 6125c131da
.
2020-07-22 12:54:15 +01:00
Friendly Helper Robot
30e8bdc955
Update dependencies ( #63 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-22 07:48:24 +01:00
Max Desiatov
3d57f175f6
Remove outdated destination file documentation
...
Destination files are no longer needed for linking with Foundation.
2020-07-21 22:42:07 +01:00
Max Desiatov
d70133a568
Add `wasmer` dependency to `Formula.swift`
2020-07-21 22:37:46 +01:00
Max Desiatov
0e8f0034c5
Bump version to 0.4.0
2020-07-21 22:24:21 +01:00
Max Desiatov
2509fd0f0d
Fix link in CHANGELOG.md
2020-07-21 22:12:36 +01:00
Max Desiatov
4653be43ce
Fix formatting in CHANGELOG.md
2020-07-21 22:11:23 +01:00
Max Desiatov
3bbad92f0b
Update CHANGELOG.md for 0.4.0 release
2020-07-21 22:09:47 +01:00
Max Desiatov
947ecb1322
Remove `platforms` stanza from `Template.swift`
2020-07-21 21:52:06 +01:00
Max Desiatov
6125c131da
Use Tokamak 0.2.0 in Template.swift
2020-07-21 19:59:09 +01:00
Max Desiatov
dc503df325
Propagate test build and run failure as exit code ( #61 )
...
Resolves #56 .
Also, a brief doc comment is added to the `Equality` assertions helper type.
2020-07-21 15:44:38 +01:00
Friendly Helper Robot
5ec0dd274c
Update dependencies ( #62 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-21 08:10:50 +01:00
Max Desiatov
749a17d730
Update static.zip, automate its release process ( #60 )
...
`dev.js` entrypoint has been updated to include the recent JavaScriptKit runtime fix: https://github.com/swiftwasm/JavaScriptKit/pull/19
I've also added a new subcommand to `carton-release`, which is now able to automaticallly create a new `static.zip` and record updated hashes in the source code. It still doesn't upload the archive automatically to previous release assets, but I wonder if that should be done manually anyway, at least until we have some kind of tests that verify the whole process end-to-end.
Additionally, since the new runtime is not compatible with the old Swift parts of JavaScriptKit, `carton dev` now checks the revision of JavaScriptKit that projects have specified in their `Package.swift`. It doesn't block the build process, but I hope it gives enough warning about the incompatibility.
2020-07-19 21:53:04 +01:00
Friendly Helper Robot
816984a674
Update dependencies ( #58 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-19 09:45:37 +01:00
Carson Katri
f27a65bf64
Upgrade JavaScriptKit ( #59 )
2020-07-18 12:42:38 -04:00
Friendly Helper Robot
326ac029d2
Update dependencies ( #57 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-17 07:42:37 +01:00
Carson Katri
537da48876
Add `carton init` command ( #54 )
2020-07-16 12:17:12 -04:00
Friendly Helper Robot
18f0009ce3
Update dependencies ( #55 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-16 07:35:46 +01:00
Max Desiatov
628cc76bbb
Fix `carton test` output skipping lines ( #53 )
2020-07-15 21:39:04 +01:00
ninjiacoder
831588a84c
Implement `carton sdk local` subcommand ( #40 )
...
Support `carton sdk local` subcommand. #15
2020-07-15 20:39:53 +01:00
Max Desiatov
9bfb3dde70
Add `list` flag and `testCases` argument to `test` ( #52 )
...
Refines the `carton test` command as a continuation of #42 work.
2020-07-15 19:12:28 +01:00
Max Desiatov
d30930f560
Fix log output formatting
2020-07-15 18:33:49 +01:00
Max Desiatov
76769443d6
Implement simple wasmer runner for `test` command ( #51 )
...
Implements the first part of https://github.com/swiftwasm/carton/issues/42 .
2020-07-15 18:05:31 +01:00
Max Desiatov
8b326b6181
Always pass --enable-test-discovery to swift build ( #49 )
...
Thanks to this the presence of `LinuxMain.swift` file is no longer needed.
2020-07-15 11:24:32 +01:00
Friendly Helper Robot
46798f7a62
Update dependencies ( #50 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-15 07:58:52 +01:00
Max Desiatov
01fc71b320
Fix watcher missing root directories ( #48 )
2020-07-14 20:44:08 +01:00
Max Desiatov
dc56e8387b
Update to Vapor 4.15.2, fix formatting ( #47 )
2020-07-14 19:28:43 +01:00
Jaap Wijnen
6b4f7035f3
Add sources to watcher per target ( #46 )
...
Sources are added per target and use a custom path if provided by the package manifest. Resolves #1 .
2020-07-14 18:38:24 +01:00
Max Desiatov
318b2828c1
Avoid displaying destination files as SDK versions ( #44 )
2020-07-14 11:22:05 +01:00
Friendly Helper Robot
f842d45b03
Update dependencies ( #43 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-14 11:16:40 +01:00
Max Desiatov
9ebc500d77
Automatically link Foundation w/ destination.json ( #41 )
...
Resolves #4 .
2020-07-13 21:26:39 +01:00
Max Desiatov
2068c1d6a6
Update update-deps.yml
2020-07-12 22:14:20 +01:00
Max Desiatov
d565f699e9
Use Combine instead of OpenCombine where possible ( #39 )
2020-07-12 22:13:28 +01:00
Friendly Helper Robot
d30aafb7bc
Update dependencies ( #36 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-09 11:34:40 +01:00
Max Desiatov
5c590230ec
Add separate CartonHelpers/SwiftToolchain modules ( #35 )
...
This also adds a separate `Toolchain` type that abstracts a lot of the common operations. The giant toolchain-related `FileSystem` extension is now hidden in the separate `SwiftToolchain` module that also contains the new `Toolchain` type.
New `Destination` model type is added to facilitate automatic creation of destination files in a future PR.
2020-07-08 22:16:11 +01:00
Max Desiatov
0710f2e451
Fix typo in CHANGELOG.md
2020-07-08 17:31:30 +01:00
Max Desiatov
bfe86508f6
Use `from` instead of `upToNextMinor` for OpenCombine ( #34 )
...
This comes after I was reminded that we're using an old version in https://github.com/swiftwasm/carton/pull/33 .
2020-07-08 13:53:50 +01:00
Sergej Jaskiewicz
2013efcf9e
Bump OpenCombine version to 0.10.0 ( #33 )
...
The new version contains important bug fixes that prevent memory leaks.
2020-07-08 13:32:27 +01:00
Max Desiatov
7c8c1dd4f6
Add labels key in GHA update-deps.yml
2020-07-08 12:49:36 +01:00
Friendly Helper Robot
72d62b056d
Update dependencies ( #32 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2020-07-08 08:46:02 +01:00
Max Desiatov
17888f1ab0
Bump version to 0.3.1
2020-07-07 23:02:19 +01:00
Max Desiatov
bca08da3f5
Fix backtrace logging for async startWasiTask ( #30 )
2020-07-07 22:59:00 +01:00
Max Desiatov
a7a7bb876c
Sort the output of `carton sdk versions` ( #29 )
2020-07-07 22:36:28 +01:00
Max Desiatov
8111ef55a8
Check for PR labels with GitHub Actions
2020-07-07 22:26:06 +01:00
Max Desiatov
4c26398394
Bump version to 0.3.0
2020-07-07 16:02:04 +01:00
Max Desiatov
b0cec40878
Add `carton sdk versions` to tasks.json
2020-07-07 15:52:07 +01:00
Max Desiatov
d54489a32d
Check if directories exist in `sdk versions`
2020-07-07 15:46:16 +01:00
Max Desiatov
0af0f36f52
Log static.zip archive download URL
2020-07-07 15:18:02 +01:00
Max Desiatov
c0f86d5f38
Log archive size when downloading new SDK ( #28 )
...
* Log archive size when downloading new SDK
* Fix linter warning
2020-07-07 14:22:12 +01:00
Max Desiatov
5b325a6a9f
Update WASI polyfill, print a backtrace on crash ( #27 )
...
Related to https://github.com/swiftwasm/carton/issues/26 .
2020-07-06 23:03:15 +01:00