Commit Graph

18 Commits

Author SHA1 Message Date
omochimetaru 8c7ac43e79
Skip hot-reloading if build fails (#480)
* Send error from plugin

* revert loglevel change
2024-06-08 14:27:32 +09:00
omochimetaru f734c39ed8
Verify if tests communicate with just spawned dev server (#479) 2024-06-06 14:46:43 +00:00
omochimetaru 924e1713cd
Refactor utilities under Foundation.Process and CartonHelpers.Process and share implementations (#477)
* organizer process utilities

* resurrect ProcessResult.checkNonZeroExit

* import Foundation

* use SIGINT

* remove didExit and tweak bundle completion message
2024-06-04 12:39:08 +00:00
omochimetaru eba0fdb76c
Add unit test for dev server (#466)
* make CartonCore module and move Environment

* refactor DevCommandTests.checkForExpectedContent

* add DevServerTestApp Fixture

* add FrontendDevServerTests
2024-05-22 11:31:19 +09:00
omochimetaru e7e0d1174c
Re-organize the naming convention of module, type, product, and file to have consistent project structure (#450)
* rename modules

* rename to CartonReleaseCommand

* call async overload

* fix commandName

* frontend name
2024-05-19 15:51:10 +09:00
omochimetaru 3a7fc0c24b fix pluginshared readme 2024-05-18 20:30:56 +09:00
Yuta Saito faee016aca Stop writing static files in ~/.carton/static
Instead, write them under plugin work directory
2024-04-26 23:13:51 +09:00
Yuta Saito 1a56ebdd3b Apply browser build parameters for bundle builds
Bundle builds should also apply the browser build parameters for reactor
ABI. This is necessary to work with JavaScriptKit.
2024-03-10 18:25:34 +09:00
Yuta Saito 32ba4c970e Build test product from plugin process if SwiftPM is new enough 2024-03-09 23:24:09 +09:00
Yuta Saito 5b4b870aa5 Use mangled `__main_argc_argv` for Swift 6 and later 2024-03-09 23:24:09 +09:00
Yuta Saito 34d5cd4cd1 Build with `-static-stdlib` explicitly
The new SwiftDriver does not infer `-static-stdlib` for WebAssembly
targets intentionally for future dynamic linking support.
2024-03-09 23:24:09 +09:00
Yuta Saito d6966baa09 Fix typo in error message for deprecated environment name 2024-03-09 11:41:25 +00:00
Yuta Saito 8f87d1f9d8 Fix typo XXcxx -> Xcxx 2024-02-27 17:51:38 +09:00
Yuta Saito 3086e5fd48 Improve logging for SwiftPM build 2024-02-27 02:23:12 +09:00
Yuta Saito 636600229c Forward extra build flags given to plugin invocations 2024-02-27 02:23:12 +09:00
Yuta Saito 4535b3a1fc Skip test product build if prebuilt test bundle is specified 2024-02-26 18:48:01 +09:00
Yuta Saito 1b3911c547 Repair Linux build 2024-02-26 18:48:01 +09:00
Yuta Saito 2e62088305 Version 1.0.0: SwiftPM Plugin Support
See CHANGELOG.md
2024-02-26 18:48:01 +09:00