cabal-userguide icon indicating copy to clipboard operation
cabal-userguide copied to clipboard

Leveling Up - Refactoring and re-use

Open JonathanLorimer opened this issue 4 years ago • 2 comments

file to edit: https://github.com/haskell/cabal-userguide/blob/main/src/leveling_up/01_refactoring_and_re-use.md

Brief Summary

The motivation for this chapter is to show ways that common blocks in .cabal files can be factored out using common stanzas.

Resources

Old cabal user guide common stanza intro Old cabal user guide common stanza reference

JonathanLorimer avatar Jul 01 '21 02:07 JonathanLorimer

There's also the excellent https://vrom911.github.io/blog/common-stanzas as a resource.

yongrenjie avatar Jul 02 '21 11:07 yongrenjie

@yongrenjie This is great, thank you for sharing!

JonathanLorimer avatar Jul 02 '21 13:07 JonathanLorimer