Some checks failed
Build and Deploy / build-macos (push) Failing after 7s
Build and Deploy / build-linux (push) Has been cancelled
Build and Deploy / build-windows (CLANG64) (push) Has been cancelled
Build and Deploy / package-dist (push) Has been cancelled
Build and Deploy / deploy-itch (push) Has been cancelled
Build and Deploy / deploy-gitea (push) Has been cancelled
25 lines
761 B
JavaScript
25 lines
761 B
JavaScript
// cell init - Initialize a new .cell program shop
|
|
|
|
var io = use('io')
|
|
var shop = use('shop')
|
|
|
|
// Initialize the .cell directory structure
|
|
log.console("Initializing .cell program shop...")
|
|
|
|
var success = shop.init()
|
|
|
|
if (success) {
|
|
log.console("Created .cell directory structure:")
|
|
log.console(" .cell/")
|
|
log.console(" ├── shop.toml (manifest)")
|
|
log.console(" ├── lock.toml (checksums)")
|
|
log.console(" ├── modules/ (vendored source)")
|
|
log.console(" ├── build/ (compiled modules)")
|
|
log.console(" └── patches/ (patches)")
|
|
log.console("")
|
|
log.console("Edit .cell/shop.toml to configure your project.")
|
|
} else {
|
|
log.error("Failed to initialize .cell directory")
|
|
}
|
|
|
|
$_.stop() |