Skip to content

Commit dfbb7e9

Browse files
committed
docs: Add test run to story.html
1 parent dbf8c09 commit dfbb7e9

File tree

1 file changed

+267
-5
lines changed

1 file changed

+267
-5
lines changed

docs/assets/story.html

Lines changed: 267 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<meta charset="utf-8">
45
<title>devenv.new project generation log</title>
56
<style type="text/css">
67
body {background-color: black;}
@@ -47,11 +48,17 @@
4748
</style>
4849
</head>
4950
<body>
50-
<pre>$ nix-shell -p elixir --run 'mix devenv.new igniter.new demo_app '\&crarr;
51-
'--devenv postgres,bun '\&crarr;
52-
'--install ash,ash_postgres,ash_graphql '\&crarr;
53-
'--auth-strategy magic_link '\&crarr;
54-
'--with phx.new'&crarr;
51+
<pre>$ <b class=HIR>which elixir</b>&crarr;
52+
elixir not found
53+
54+
$ <b class=HIR>which mix</b>&crarr;
55+
mix not found
56+
57+
$ <b class=HIR>nix-shell -p elixir --run 'mix devenv.new igniter.new demo_app '\</b>&crarr;
58+
<b class=HIR>'--devenv postgres,bun '\</b>&crarr;
59+
<b class=HIR>'--install ash,ash_postgres,ash_graphql '\</b>&crarr;
60+
<b class=HIR>'--auth-strategy magic_link '\</b>&crarr;
61+
<b class=HIR>'--with phx.new'</b>&crarr;
5562
fetching path input 'path:/nix/store/kxxnzyhr1sbm5jjm3pvysi08wzsw0k2g-source'
5663
Creating project with igniter.new...
5764
<b class=GRN>* creating </b>demo_app/lib/demo_app/application.ex
@@ -365,6 +372,261 @@
365372
devenv shell # unless you have direnv installed
366373

367374
Enabled features: bun, elixir, postgres
375+
376+
$ <b class=HIR>cd demo_app</b>&crarr;
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>&crarr;
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>&crarr;
406+
==&gt; sourceror
407+
Compiling 12 files (.ex)
408+
Generated sourceror app
409+
==&gt; text_diff
410+
Compiling 1 file (.ex)
411+
Generated text_diff app
412+
==&gt; stream_data
413+
Compiling 3 files (.ex)
414+
Generated stream_data app
415+
==&gt; floki
416+
Compiling 1 file (.xrl)
417+
Compiling 2 files (.erl)
418+
Compiling 30 files (.ex)
419+
Generated floki app
420+
==&gt; decimal
421+
Compiling 4 files (.ex)
422+
Generated decimal app
423+
==&gt; spitfire
424+
Compiling 2 files (.erl)
425+
Compiling 4 files (.ex)
426+
Generated spitfire app
427+
==&gt; ymlr
428+
Compiling 3 files (.ex)
429+
Generated ymlr app
430+
==&gt; mime
431+
Compiling 1 file (.ex)
432+
Generated mime app
433+
==&gt; nimble_options
434+
Compiling 3 files (.ex)
435+
Generated nimble_options app
436+
==&gt; libgraph
437+
Compiling 15 files (.ex)
438+
Generated libgraph app
439+
==&gt; nimble_parsec
440+
Compiling 4 files (.ex)
441+
Generated nimble_parsec app
442+
==&gt; demo_app
443+
===&gt; Analyzing applications...
444+
===&gt; Compiling telemetry
445+
==&gt; telemetry_metrics
446+
Compiling 7 files (.ex)
447+
Generated telemetry_metrics app
448+
==&gt; demo_app
449+
===&gt; Analyzing applications...
450+
===&gt; Compiling telemetry_poller
451+
==&gt; thousand_island
452+
Compiling 16 files (.ex)
453+
Generated thousand_island app
454+
==&gt; jason
455+
Compiling 10 files (.ex)
456+
Generated jason app
457+
==&gt; esbuild
458+
Compiling 4 files (.ex)
459+
Generated esbuild app
460+
==&gt; phoenix_html
461+
Compiling 6 files (.ex)
462+
Generated phoenix_html app
463+
==&gt; phoenix_template
464+
Compiling 4 files (.ex)
465+
Generated phoenix_template app
466+
==&gt; db_connection
467+
Compiling 17 files (.ex)
468+
Generated db_connection app
469+
==&gt; expo
470+
Compiling 2 files (.erl)
471+
Compiling 22 files (.ex)
472+
Generated expo app
473+
==&gt; phoenix_pubsub
474+
Compiling 11 files (.ex)
475+
Generated phoenix_pubsub app
476+
==&gt; plug_crypto
477+
Compiling 5 files (.ex)
478+
Generated plug_crypto app
479+
==&gt; hpax
480+
Compiling 4 files (.ex)
481+
Generated hpax app
482+
==&gt; mint
483+
Compiling 1 file (.erl)
484+
Compiling 20 files (.ex)
485+
Generated mint app
486+
==&gt; demo_app
487+
===&gt; Analyzing applications...
488+
===&gt; Compiling yamerl
489+
==&gt; yaml_elixir
490+
Compiling 6 files (.ex)
491+
Generated yaml_elixir app
492+
==&gt; dns_cluster
493+
Compiling 1 file (.ex)
494+
Generated dns_cluster app
495+
==&gt; gettext
496+
Compiling 18 files (.ex)
497+
Generated gettext app
498+
==&gt; absinthe
499+
Compiling 1 file (.erl)
500+
Compiling 260 files (.ex)
501+
Generated absinthe app
502+
==&gt; splode
503+
Compiling 5 files (.ex)
504+
Generated splode app
505+
==&gt; glob_ex
506+
Compiling 4 files (.ex)
507+
Generated glob_ex app
508+
==&gt; ecto
509+
Compiling 56 files (.ex)
510+
Generated ecto app
511+
==&gt; ets
512+
Compiling 7 files (.ex)
513+
Generated ets app
514+
==&gt; plug
515+
Compiling 1 file (.erl)
516+
Compiling 40 files (.ex)
517+
Generated plug app
518+
==&gt; absinthe_plug
519+
Compiling 18 files (.ex)
520+
Generated absinthe_plug app
521+
==&gt; postgrex
522+
Compiling 68 files (.ex)
523+
Generated postgrex app
524+
==&gt; iterex
525+
Compiling 48 files (.ex)
526+
Generated iterex app
527+
==&gt; ecto_sql
528+
Compiling 25 files (.ex)
529+
Generated ecto_sql app
530+
==&gt; nimble_pool
531+
Compiling 2 files (.ex)
532+
Generated nimble_pool app
533+
==&gt; finch
534+
Compiling 14 files (.ex)
535+
Generated finch app
536+
==&gt; req
537+
Compiling 19 files (.ex)
538+
Generated req app
539+
==&gt; rewrite
540+
Compiling 13 files (.ex)
541+
Generated rewrite app
542+
==&gt; owl
543+
Compiling 19 files (.ex)
544+
Generated owl app
545+
==&gt; igniter
546+
Compiling 59 files (.ex)
547+
Generated igniter app
548+
==&gt; spark
549+
Compiling 38 files (.ex)
550+
Generated spark app
551+
==&gt; reactor
552+
Compiling 111 files (.ex)
553+
Generated reactor app
554+
==&gt; ash
555+
Compiling 529 files (.ex)
556+
Generated ash app
557+
==&gt; ash_sql
558+
Compiling 13 files (.ex)
559+
Generated ash_sql app
560+
==&gt; 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 │ |&gt; 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+
==&gt; tailwind
572+
Compiling 3 files (.ex)
573+
Generated tailwind app
574+
==&gt; websock
575+
Compiling 1 file (.ex)
576+
Generated websock app
577+
==&gt; bandit
578+
Compiling 54 files (.ex)
579+
Generated bandit app
580+
==&gt; swoosh
581+
Compiling 53 files (.ex)
582+
Generated swoosh app
583+
==&gt; websock_adapter
584+
Compiling 4 files (.ex)
585+
Generated websock_adapter app
586+
==&gt; phoenix
587+
Compiling 73 files (.ex)
588+
Generated phoenix app
589+
==&gt; 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+
==&gt; ash_graphql
607+
Compiling 47 files (.ex)
608+
Generated ash_graphql app
609+
==&gt; phoenix_live_view
610+
Compiling 39 files (.ex)
611+
Generated phoenix_live_view app
612+
==&gt; phoenix_live_dashboard
613+
Compiling 36 files (.ex)
614+
Generated phoenix_live_dashboard app
615+
==&gt; phoenix_ecto
616+
Compiling 7 files (.ex)
617+
Generated phoenix_ecto app
618+
==&gt; 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+
$
368630
</pre>
369631
</body>
370632
</html>

0 commit comments

Comments
 (0)