Meta tags:
description= A program for developing Haskell projects.
;
author= Stack contributors;
Headings (most frequently used words):
the, stack, dot, command, examples,
Text of the page (most frequently used words):
the (54), dot (31), stack (29), packages (24), and (23), external (16), dependencies (16), wreq (15), are (14), project (14), include (13), package (12), output (11), base (10), depth (10), ghc (10), flag (10), svg (9), pass (9), for (8), tsvg (7), prune (7), specified (7), configuration (7), examples (6), from (6), file (6), global (6), reach (5), graph (5), graphviz (5), executable (5), components (5), test (5), option (5), build (5), that (4), http (4), client (4), tls (4), graphs (4), exclude (4), limit (4), example3 (4), version (4), cabal (4), files (4), included (4), commands (4), contributors (3), dependency (3), twopi (3), other (3), example (3), language (3), all (3), installed (3), excluded (3), bench (3), flags (3), relevant (3), non (3), its (3), more (3), get (3), involved (3), integration (3), building (3), topics (3), configure (3), getting (3), started (3), with (2), memory (2), basement (2), cannot (2), any (2), lens (2), aeson (2), exceptions (2), use (2), each (2), produces (2), form (2), nodes (2), those (2), hint (2), used (2), hints (2), benchmark (2), description (2), default (2), can (2), package_name (2), flag_name (2), yaml (2), target (2), argument (2), ignored (2), command (2), including (2), list (2), standard (2), relationships (2), between (2), your (2), directed (2), source (2), windows (2), table (2), contents (2), glossary (2), faq (2), how (2), works (2), upgrading (2), maintainers (2), code (2), docker (2), script (2), snapshot (2), location (2), environment (2), options (2), specific (2), projects (2), setting (2), welcome (2), github (2), made, material, mkdocs, copyright, 2015, 2025, back, top, example7, groot, goverlap, false, example6, draws, radial, layout, different, draw, example5, example4, save, intermediate, example2, example1, simple, following, based, boot, case, piped, input, into, executables, named, given, maximum, rank, will, place, bottom, row, diagram, wired, identified, rectangular, box, database, does, not, need, level, set, unset, this, multiple, times, however, which, uses, same, format, but, also, both, cases, names, separated, commas, there, resolution, stream, represent, their, direct, them, open, software, visualises, provides, defining, drawing, available, linux, macos, freebsd, download, history, resources, overview, signing, key, self, hosted, runners, haskellstack, org, zip, msys2, add, maintainer, team, process, releases, scheme, dev, containers, contributor, guide, haskell, lock, azure, travis, shell, auto, completion, developing, visual, studio, editor, debugging, initialization, nix, interpreter, specification, work, directories, root, customisation, scripts, directive, variables, upload, upgrade, update, unpack, uninstall, templates, setup, sdist, runhaskell, runghc, run, repl, query, purge, path, new, install, init, ide, hpc, hoogle, haddock, ghci, exec, eval, config, clean, conclusion, using, interactively, executing, locations, multi, targets, synonyms, databases, existing, hello, world, initializing, search, skip, content,
Text of the page (random words):
dot stack skip to content stack dot initializing search github welcome setting up getting started commands configure topics get involved faq glossary more stack github welcome setting up getting started getting started 1 a hello world example 2 package description 3 project configuration 4 building your project 5 building existing projects 6 installed package databases 7 stack build synonyms 8 stack build targets 9 multi package projects 10 cabal flags and ghc options 11 locations used by stack 12 executing commands 13 using ghc interactively 14 stack configuration 15 in conclusion commands commands bench build clean config dot dot table of contents examples docker eval exec ghc ghci haddock hoogle hpc ide init install list ls new path purge query repl run runghc runhaskell script sdist setup templates test uninstall unpack update upgrade upload configure configure environment variables configuration files configuration files project specific configuration non project specific configuration the include directive global flags and options customisation scripts topics topics stack root stack work directories stack environment snapshot location package location snapshot specification stack yaml vs a cabal file script interpreter docker integration nix integration non standard project initialization building ghc from source debugging editor integration stack and visual studio code developing on windows shell auto completion ci travis ci azure ci lock files haskell and c code get involved get involved contributors contributors contributor s guide dev containers maintainers maintainers version scheme releases maintainer team process add ghc version upgrading msys2 upgrading 7 zip haskellstack org self hosted runners signing key how stack works how stack works build overview faq glossary more more other resources version history table of contents examples the stack dot command stack dot no external no include base depth depth prune packages reach packages target flag package flag test bench global hints a package and its dependencies and the direct dependency relationships between them form a directed graph graphviz is open source software that visualises graphs it provides the dot language for defining graphs and the dot executable for drawing directed graphs graphviz is available to download for linux windows macos and freebsd stack dot produces output to the standard output stream in the dot language to represent the relationships between your packages and their dependencies by default external dependencies are excluded from the output pass the flag external to include external dependencies the base package and its dependencies are included in the output pass the flag no include base to exclude base and its dependencies there is no limit to the depth of the resolution of dependencies pass the depth depth option to limit the depth all relevant packages are included in the output pass the prune packages option to exclude the specified packages including project packages pass the reach packages option to exclude packages including project packages that cannot reach any of the specified packages in the dependency graph in both cases packages is a list of package names separated by commas for all relevant project packages relevant dependencies are included in the output however each project package for which dependencies are included can be specified as a target argument the argument uses the same format as the stack build command but components of project packages are ignored non project packages are also ignored cabal flags are as specified by the package description files and the project level configuration file stack yaml by default pass the option flag package_name flag_name or flag package_name flag_name to set or unset a cabal flag this option can be specified multiple times test components of project packages are excluded from the output pass the flag test to include test components benchmark components of project packages are excluded from the output pass the flag bench to include benchmark components and global packages for the specified version of ghc are those specified by the global package database of an installed ghc pass the flag global hints to use a hint file for global packages if a hint file is used ghc does not need to be installed all ghc wired in packages are identified by a rectangular box nodes with no dependencies in the graph are given the maximum rank in the dot language that is the dot executable will place those nodes on the bottom row of the diagram examples the following examples are based on the package wreq 0 5 4 3 and the boot packages of ghc 9 10 3 in each case the output from stack dot is piped as an input into graphviz s dot or twopi executables and the executable produces output in the form of a svg file named wreq example svg a simple example stack dot dot tsvg o wreq example1 svg include external dependencies stack dot external dot tsvg o wreq example2 svg include external dependencies limit the depth and save the output from stack dot as an intermediate file wreq example3 dot stack dot external depth 2 wreq example3 dot dot tsvg o wreq example3 svg wreq example3 dot include external dependencies exclude base and limit the depth stack dot no include base external depth 2 dot tsvg o wreq example4 svg include external dependencies and prune base and other packages stack dot external prune base lens wreq examples http client aeson tls http client tls exceptions dot tsvg o wreq example5 svg include external dependencies prune base and other packages and use a different graphviz executable to draw the graph graphviz s twopi executable draws graphs in a radial layout stack dot external prune base lens wreq examples http client aeson tls http client tls exceptions twopi groot wreq goverlap false tsvg o wreq example6 svg include external dependencies and prune packages that cannot reach any of memory and basement in the dependency graph stack dot external reach memory basement dot tsvg o wreq example7 svg back to top copyright c 2015 2025 stack contributors made with material for mkdocs
|