Commit Graph

7 Commits

Author SHA1 Message Date
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
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 37e8d8145b
Pass --product, not --target to swift build 2020-06-16 20:53:58 +01:00
Max Desiatov 36b8c1d2a8
Refactor `dev` command, add tests to TestApp 2020-06-09 22:37:29 +01:00
Max Desiatov 74d42393bb
Detect swift version, serve /main.wasm 2020-06-04 21:31:32 +01:00
Max Desiatov ad6e5512dd
Basic parsing of package info on carton dev 2020-06-04 10:38:51 +01:00
Max Desiatov 3c5904790e
Add basic Vapor server for the dev command 2020-05-05 23:02:06 +01:00