|
1 | 1 | <!DOCTYPE html> |
2 | 2 | <html> |
3 | 3 | <head> |
| 4 | +<meta charset="utf-8"> |
4 | 5 | <title>devenv.new project generation log</title> |
5 | 6 | <style type="text/css"> |
6 | 7 | body {background-color: black;} |
|
47 | 48 | </style> |
48 | 49 | </head> |
49 | 50 | <body> |
50 | | -<pre>$ nix-shell -p elixir --run 'mix devenv.new igniter.new demo_app '\↵ |
51 | | -'--devenv postgres,bun '\↵ |
52 | | -'--install ash,ash_postgres,ash_graphql '\↵ |
53 | | -'--auth-strategy magic_link '\↵ |
54 | | -'--with phx.new'↵ |
| 51 | +<pre>$ <b class=HIR>which elixir</b>↵ |
| 52 | +elixir not found |
| 53 | + |
| 54 | +$ <b class=HIR>which mix</b>↵ |
| 55 | +mix not found |
| 56 | + |
| 57 | +$ <b class=HIR>nix-shell -p elixir --run 'mix devenv.new igniter.new demo_app '\</b>↵ |
| 58 | +<b class=HIR>'--devenv postgres,bun '\</b>↵ |
| 59 | +<b class=HIR>'--install ash,ash_postgres,ash_graphql '\</b>↵ |
| 60 | +<b class=HIR>'--auth-strategy magic_link '\</b>↵ |
| 61 | +<b class=HIR>'--with phx.new'</b>↵ |
55 | 62 | fetching path input 'path:/nix/store/kxxnzyhr1sbm5jjm3pvysi08wzsw0k2g-source' |
56 | 63 | Creating project with igniter.new... |
57 | 64 | <b class=GRN>* creating </b>demo_app/lib/demo_app/application.ex |
|
365 | 372 | devenv shell # unless you have direnv installed |
366 | 373 |
|
367 | 374 | Enabled features: bun, elixir, postgres |
| 375 | + |
| 376 | +$ <b class=HIR>cd demo_app</b>↵ |
| 377 | +direnv: loading /private/tmp/demo_app/.envrc |
| 378 | +direnv: using devenv |
| 379 | +• Building shell ... |
| 380 | +<b class=HIM>warning:</b> creating lock file '/private/tmp/demo_app/devenv.lock' |
| 381 | +• Using Cachix: devenv |
| 382 | +✔ Building shell in 6.64s |
| 383 | +Running tasks <b class="BOLD">devenv:enterShell</b> |
| 384 | +<b class=GRN></b><b class=HIG>Succeeded </b> <b class="BOLD">devenv:enterShell </b> 11ms |
| 385 | +1 <b class=GRN></b><b class=HIG>Succeeded</b> 11.27ms |
| 386 | +✨ devenv 1.6.1 is out of date. Please update to 1.7: https://devenv.sh/getting-started/#installation |
| 387 | +direnv: export +AR +AS +CC +CONFIG_SHELL +CXX +DEVELOPER_DIR +DEVENV_DIRENVRC_ROLLING_UPGRADE +DEVENV_DIRENVRC_VERSION +DEVENV_DOTFILE +DEVENV_PROFILE +DEVENV_ROOT +DEVENV_RUNTIME +DEVENV_STATE +DEVENV_TASKS +IN_NIX_SHELL +LD +LD_DYLD_PATH +MACOSX_DEPLOYMENT_TARGET +NIX_APPLE_SDK_VERSION +NIX_BINTOOLS +NIX_BINTOOLS_WRAPPER_TARGET_HOST_arm64_apple_darwin +NIX_CC +NIX_CC_WRAPPER_TARGET_HOST_arm64_apple_darwin +NIX_CFLAGS_COMPILE +NIX_DONT_SET_RPATH +NIX_DONT_SET_RPATH_FOR_BUILD +NIX_ENFORCE_NO_NATIVE +NIX_HARDENING_ENABLE +NIX_IGNORE_LD_THROUGH_GCC +NIX_LDFLAGS +NIX_NO_SELF_RPATH +NIX_PKG_CONFIG_WRAPPER_TARGET_HOST_arm64_apple_darwin +NIX_STORE +NM +NODE_PATH +OBJCOPY +OBJDUMP +PATH_LOCALE +PC_CONFIG_FILES +PC_SOCKET_PATH +PGDATA +PGHOST +PGPORT +PKG_CONFIG +PKG_CONFIG_PATH +RANLIB +SDKROOT +SIZE +SOURCE_DATE_EPOCH +STRINGS +STRIP +ZERO_AR_DATE +__darwinAllowLocalNetworking +__impureHostDeps +__propagatedImpureHostDeps +__propagatedSandboxProfile +__sandboxProfile +cmakeFlags +configureFlags +hardeningDisable +mesonFlags +name +system ~PATH ~XDG_DATA_DIRS |
| 388 | + |
| 389 | +$ <b class=HIR>devenv up</b>↵ |
| 390 | +<b class=HIB>•</b> Building processes ... |
| 391 | +<b class=HIB>•</b> Using Cachix: devenv |
| 392 | +<b class=GRN>✔</b> Building processes in 2.09s |
| 393 | +<b class=HIB>•</b> Starting processes ... |
| 394 | +<b class=HIB>•</b> Building shell ... |
| 395 | +<b class=GRN>✔</b> Building shell in 42.5ms |
| 396 | +Running tasks <b>devenv:enterShell</b> |
| 397 | + |
| 398 | +<b class=GRN>Succeeded</b> <b>devenv:enterShell</b> 8ms |
| 399 | +1 <b class=GRN>Succeeded</b> 8.84ms |
| 400 | + |
| 401 | +<i>[ Process Compose monitor TUI spins up with PostgreSQL ]</i> |
| 402 | + |
| 403 | +<i>[ In new shell: ]</i> |
| 404 | + |
| 405 | +$ <b class=HIR>mix test</b>↵ |
| 406 | +==> sourceror |
| 407 | +Compiling 12 files (.ex) |
| 408 | +Generated sourceror app |
| 409 | +==> text_diff |
| 410 | +Compiling 1 file (.ex) |
| 411 | +Generated text_diff app |
| 412 | +==> stream_data |
| 413 | +Compiling 3 files (.ex) |
| 414 | +Generated stream_data app |
| 415 | +==> floki |
| 416 | +Compiling 1 file (.xrl) |
| 417 | +Compiling 2 files (.erl) |
| 418 | +Compiling 30 files (.ex) |
| 419 | +Generated floki app |
| 420 | +==> decimal |
| 421 | +Compiling 4 files (.ex) |
| 422 | +Generated decimal app |
| 423 | +==> spitfire |
| 424 | +Compiling 2 files (.erl) |
| 425 | +Compiling 4 files (.ex) |
| 426 | +Generated spitfire app |
| 427 | +==> ymlr |
| 428 | +Compiling 3 files (.ex) |
| 429 | +Generated ymlr app |
| 430 | +==> mime |
| 431 | +Compiling 1 file (.ex) |
| 432 | +Generated mime app |
| 433 | +==> nimble_options |
| 434 | +Compiling 3 files (.ex) |
| 435 | +Generated nimble_options app |
| 436 | +==> libgraph |
| 437 | +Compiling 15 files (.ex) |
| 438 | +Generated libgraph app |
| 439 | +==> nimble_parsec |
| 440 | +Compiling 4 files (.ex) |
| 441 | +Generated nimble_parsec app |
| 442 | +==> demo_app |
| 443 | +===> Analyzing applications... |
| 444 | +===> Compiling telemetry |
| 445 | +==> telemetry_metrics |
| 446 | +Compiling 7 files (.ex) |
| 447 | +Generated telemetry_metrics app |
| 448 | +==> demo_app |
| 449 | +===> Analyzing applications... |
| 450 | +===> Compiling telemetry_poller |
| 451 | +==> thousand_island |
| 452 | +Compiling 16 files (.ex) |
| 453 | +Generated thousand_island app |
| 454 | +==> jason |
| 455 | +Compiling 10 files (.ex) |
| 456 | +Generated jason app |
| 457 | +==> esbuild |
| 458 | +Compiling 4 files (.ex) |
| 459 | +Generated esbuild app |
| 460 | +==> phoenix_html |
| 461 | +Compiling 6 files (.ex) |
| 462 | +Generated phoenix_html app |
| 463 | +==> phoenix_template |
| 464 | +Compiling 4 files (.ex) |
| 465 | +Generated phoenix_template app |
| 466 | +==> db_connection |
| 467 | +Compiling 17 files (.ex) |
| 468 | +Generated db_connection app |
| 469 | +==> expo |
| 470 | +Compiling 2 files (.erl) |
| 471 | +Compiling 22 files (.ex) |
| 472 | +Generated expo app |
| 473 | +==> phoenix_pubsub |
| 474 | +Compiling 11 files (.ex) |
| 475 | +Generated phoenix_pubsub app |
| 476 | +==> plug_crypto |
| 477 | +Compiling 5 files (.ex) |
| 478 | +Generated plug_crypto app |
| 479 | +==> hpax |
| 480 | +Compiling 4 files (.ex) |
| 481 | +Generated hpax app |
| 482 | +==> mint |
| 483 | +Compiling 1 file (.erl) |
| 484 | +Compiling 20 files (.ex) |
| 485 | +Generated mint app |
| 486 | +==> demo_app |
| 487 | +===> Analyzing applications... |
| 488 | +===> Compiling yamerl |
| 489 | +==> yaml_elixir |
| 490 | +Compiling 6 files (.ex) |
| 491 | +Generated yaml_elixir app |
| 492 | +==> dns_cluster |
| 493 | +Compiling 1 file (.ex) |
| 494 | +Generated dns_cluster app |
| 495 | +==> gettext |
| 496 | +Compiling 18 files (.ex) |
| 497 | +Generated gettext app |
| 498 | +==> absinthe |
| 499 | +Compiling 1 file (.erl) |
| 500 | +Compiling 260 files (.ex) |
| 501 | +Generated absinthe app |
| 502 | +==> splode |
| 503 | +Compiling 5 files (.ex) |
| 504 | +Generated splode app |
| 505 | +==> glob_ex |
| 506 | +Compiling 4 files (.ex) |
| 507 | +Generated glob_ex app |
| 508 | +==> ecto |
| 509 | +Compiling 56 files (.ex) |
| 510 | +Generated ecto app |
| 511 | +==> ets |
| 512 | +Compiling 7 files (.ex) |
| 513 | +Generated ets app |
| 514 | +==> plug |
| 515 | +Compiling 1 file (.erl) |
| 516 | +Compiling 40 files (.ex) |
| 517 | +Generated plug app |
| 518 | +==> absinthe_plug |
| 519 | +Compiling 18 files (.ex) |
| 520 | +Generated absinthe_plug app |
| 521 | +==> postgrex |
| 522 | +Compiling 68 files (.ex) |
| 523 | +Generated postgrex app |
| 524 | +==> iterex |
| 525 | +Compiling 48 files (.ex) |
| 526 | +Generated iterex app |
| 527 | +==> ecto_sql |
| 528 | +Compiling 25 files (.ex) |
| 529 | +Generated ecto_sql app |
| 530 | +==> nimble_pool |
| 531 | +Compiling 2 files (.ex) |
| 532 | +Generated nimble_pool app |
| 533 | +==> finch |
| 534 | +Compiling 14 files (.ex) |
| 535 | +Generated finch app |
| 536 | +==> req |
| 537 | +Compiling 19 files (.ex) |
| 538 | +Generated req app |
| 539 | +==> rewrite |
| 540 | +Compiling 13 files (.ex) |
| 541 | +Generated rewrite app |
| 542 | +==> owl |
| 543 | +Compiling 19 files (.ex) |
| 544 | +Generated owl app |
| 545 | +==> igniter |
| 546 | +Compiling 59 files (.ex) |
| 547 | +Generated igniter app |
| 548 | +==> spark |
| 549 | +Compiling 38 files (.ex) |
| 550 | +Generated spark app |
| 551 | +==> reactor |
| 552 | +Compiling 111 files (.ex) |
| 553 | +Generated reactor app |
| 554 | +==> ash |
| 555 | +Compiling 529 files (.ex) |
| 556 | +Generated ash app |
| 557 | +==> ash_sql |
| 558 | +Compiling 13 files (.ex) |
| 559 | +Generated ash_sql app |
| 560 | +==> ash_postgres |
| 561 | +Compiling 56 files (.ex) |
| 562 | + <b class=YEL>warning:</b> Igniter.Project.Config.modify_configuration_code/4 is deprecated. Use `modify_config_code/5` |
| 563 | + │ |
| 564 | + 203 │ |> Igniter.Project.Config.modify_configuration_code( |
| 565 | + │ <b class=YEL> ~</b> |
| 566 | + │ |
| 567 | + └─ lib/mix/tasks/ash_postgres.install.ex:203:51: Mix.Tasks.AshPostgres.Install.configure_runtime/3 |
| 568 | + └─ lib/mix/tasks/ash_postgres.install.ex:208:51: Mix.Tasks.AshPostgres.Install.configure_runtime/3 |
| 569 | + |
| 570 | +Generated ash_postgres app |
| 571 | +==> tailwind |
| 572 | +Compiling 3 files (.ex) |
| 573 | +Generated tailwind app |
| 574 | +==> websock |
| 575 | +Compiling 1 file (.ex) |
| 576 | +Generated websock app |
| 577 | +==> bandit |
| 578 | +Compiling 54 files (.ex) |
| 579 | +Generated bandit app |
| 580 | +==> swoosh |
| 581 | +Compiling 53 files (.ex) |
| 582 | +Generated swoosh app |
| 583 | +==> websock_adapter |
| 584 | +Compiling 4 files (.ex) |
| 585 | +Generated websock_adapter app |
| 586 | +==> phoenix |
| 587 | +Compiling 73 files (.ex) |
| 588 | +Generated phoenix app |
| 589 | +==> absinthe_phoenix |
| 590 | +Compiling 9 files (.ex) |
| 591 | + <b class=YEL>warning:</b> this clause of defp format_result/1 is never used |
| 592 | + │ |
| 593 | + 28 │ defp format_result(:execution_failed) do |
| 594 | + │ <b class=YEL> ~</b> |
| 595 | + │ |
| 596 | + └─ lib/absinthe/phoenix/controller/result.ex:28:8: Absinthe.Phoenix.Controller.Result.format_result/1 |
| 597 | + |
| 598 | + <b class=YEL>warning:</b> this clause of defp format_result/1 is never used |
| 599 | + │ |
| 600 | + 46 │ defp format_result({:parse_failed, error}) do |
| 601 | + │ <b class=YEL> ~</b> |
| 602 | + │ |
| 603 | + └─ lib/absinthe/phoenix/controller/result.ex:46:8: Absinthe.Phoenix.Controller.Result.format_result/1 |
| 604 | + |
| 605 | +Generated absinthe_phoenix app |
| 606 | +==> ash_graphql |
| 607 | +Compiling 47 files (.ex) |
| 608 | +Generated ash_graphql app |
| 609 | +==> phoenix_live_view |
| 610 | +Compiling 39 files (.ex) |
| 611 | +Generated phoenix_live_view app |
| 612 | +==> phoenix_live_dashboard |
| 613 | +Compiling 36 files (.ex) |
| 614 | +Generated phoenix_live_dashboard app |
| 615 | +==> phoenix_ecto |
| 616 | +Compiling 7 files (.ex) |
| 617 | +Generated phoenix_ecto app |
| 618 | +==> demo_app |
| 619 | +Compiling 19 files (.ex) |
| 620 | +Generated demo_app app |
| 621 | +Getting extensions in current project... |
| 622 | +Running setup for AshPostgres.DataLayer... |
| 623 | +Running ExUnit with seed: 375725, max_cases: 24 |
| 624 | + |
| 625 | +<b class=GRN>.</b><b class=GRN>.</b><b class=GRN>.</b><b class=GRN>.</b><b class=GRN>.</b> |
| 626 | +Finished in 0.01 seconds (0.01s async, 0.00s sync) |
| 627 | +<b class=GRN>5 tests, 0 failures</b> |
| 628 | + |
| 629 | +$ |
368 | 630 | </pre> |
369 | 631 | </body> |
370 | 632 | </html> |
0 commit comments