Commit Graph

9 Commits

Author SHA1 Message Date
Max Desiatov 3d9558f1b8
Bump requirements to Swift 5.4, migrate to `@resultBuilder` (#442)
This updates the project to use Swift 5.4 across all platforms. Swift 5.4 is now also the required version, which allows us to use `@resultBuilder` instead of the deprecated version of this attribute from Swift 5.3.

Use `carton` 0.11.0 or later from now on to build with SwiftWasm 5.4.0.
2021-09-08 10:18:53 +01:00
Max Desiatov c4c9eb595e
Update to the latest version of SwiftFormat (#250)
* Update to the latest version of SwiftFormat

This fixes inconsistencies in argument and parameter formatting that we previously had.

* Fix function length in `Path.swift`

* Fix linter warnings

* More formatting cleanups

* Add `StrokeStyle.zero` in the `StaticHTML` module
2020-08-05 17:30:19 +01:00
Max Desiatov c5743c6437
Update .swiftformat and project formatting 2020-05-04 18:06:55 +01:00
Max Desiatov 1ee9700b10
Update .swiftformat 2020-05-04 18:00:14 +01:00
Max Desiatov 9407dd0674
Migrate reconciler and TestRenderer to View API (#107)
* Migrate reconciler and AppKit renderer to View API

* Fix building tests, cleanup unused code

* Remove more unused code

* Remove TokamakAppKit, add ParentView/GroupView

* Remove unused code, make testMount pass

* Cleanup more unused code

* Add ValueStorage protocol

* Add getter/setter internal properties on State

* Fix more State test assertions

* Fix all the reconciler tests 🎉
2020-04-11 18:21:04 +01:00
Max Desiatov fb5d236846
Refine .swiftformat 2019-02-15 12:44:27 +00:00
Max Desiatov 1d76a10258
Run SwiftFormat and upload coverage on Travis 2018-12-28 22:28:31 +00:00
Max Desiatov 9113db3b92
Update .swiftformat rules 2018-12-28 22:04:23 +00:00
Max Desiatov e4ea316b3a
Apply SwiftFormat changes 2018-12-28 21:54:16 +00:00