Commit Graph

10 Commits

Author SHA1 Message Date
STREGA 5969630c48 Remove and ignore Package.resolved 2023-09-30 07:37:05 -04:00
Max Desiatov a03da05ee2
Bump version to 0.14.0, update `CHANGELOG.md` (#311) 2022-04-10 13:39:29 +09:00
thecb4 fc0487d623
Add `test` command test with no arguments (#198)
* Added test command test with no arguments

* Changed build and test to release configuration, Fixed Docker Build error

* Changed build and test to release configuration, Fixed Docker Build error

* Fixed github action

* Moved package.json and package-lock.json back to the top directory

* Moved the entrypoint folder back to the top level directory

Co-authored-by: thecb4 <cavelle@tehcb4.io>
2020-12-30 10:35:02 -05:00
Yuta Saito 0ee05ba7a9
Update toolchain and remove extra compiler flags (#147)
* Update toolchain version and remove extra compiler flags

* Ignore .swiftpm
2020-10-31 16:57:52 +09:00
Max Desiatov 762a500640
Update .gitignore and .dockerignore for Homebrew 2020-10-22 19:19:06 +01:00
Max Desiatov 5a5e7397eb
Implement `carton bundle` command (#97)
New `bundle.js` entrypoint is added, which only differs from `dev.js` in the lack of the WebSocket hot reloading bit.

`wabt` and `binaryen` Homebrew dependencies are added as required for `wasm-strip` and `wasm-opt` respectively that reduce the resulting bundle binary size.

All resulting bundle files except `index.html` are named by their content hashes to enable [cache busting](https://www.keycdn.com/support/what-is-cache-busting).

Resolves #16.
2020-08-31 16:29:47 +01:00
Yuta Saito 86c9998a32
Add carton package cmd (#96)
* Ignore generate-xcodeproj artifact

* Add carton package command which proxies to swift-package in the selected toolchain
2020-08-28 17:35:15 +09: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
Max Desiatov 3c5904790e
Add basic Vapor server for the dev command 2020-05-05 23:02:06 +01:00
Max Desiatov 3bd8168a65
Initial commit 2020-05-04 17:26:09 +01:00