Questions tagged [shake-build-system]

Shake is a Haskell library for writing build systems - designed as a replacement for make.

Shake is a Haskell library for writing build systems - designed as a replacement for make. Website at https://shakebuild.com/.

127 questions
0
votes
1 answer

Does shake support bash completion?

I am learning to use shake to replace Makefile and wonder if shake have bash-completion support. For example, a simple (do nothing) Makefile all : clean: would show a tab completion target as $ make
wizzup
  • 2,361
  • 20
  • 34
0
votes
1 answer

Usefull functionlity hidden away in Development/Shake/FilePattern.hs

I'm trying to use the function extract defined in Development.Shake.FilePattern but it's hidden. Why? It's not used internally either from what I can gather. $ ghci GHCi, version 7.6.3: http://www.haskell.org/ghc/ :? for help Loading package…
nesqi
  • 97
  • 7
0
votes
1 answer

Deploying Shake in intranet scenarios

I have finished writing a shake-based build system and have reached the deployment stage. Is there any resource on best practices for deploying Shake-based build systems in intranet scenarios? I'm concerned about things like reproducing a build 5…
clavijo
  • 77
  • 6
0
votes
1 answer

How to change the information printed by Shake during a build

Currently when building Shake outputs lines such as: # gcc (for debugBuild) But that is not informative for our application, so we'd like to print something like: objectFileName.o[configurationFlavour] How can you do that in Shake?
Neil Mitchell
  • 9,090
  • 1
  • 27
  • 85
0
votes
1 answer

shake: Invalid statement: import Development.Shake

My first attempt using shake, tried to follow the instructions here: https://github.com/ndmitchell/shake/blob/master/docs/Manual.md#readme I copied the makefile verbatim and ran shake. Shake printed shake: Invalid statement: import…
mkingston
  • 2,678
  • 16
  • 26
0
votes
1 answer

Seeing console progress messages in Shake

I am using Shake, calling wget to download a file. If I do that on the command line I see a one-line progress bar, but when called from Shake I see many lines of dots. As an example: shake shakeOptions $ action (cmd "wget…
Neil Mitchell
  • 9,090
  • 1
  • 27
  • 85
-1
votes
1 answer

Adding an extra dependency in new Rules to existing Rules

I am writing a Shakefile with the aim of making it extensible with new Rules. Its interface is a function mainFor :: Rules () -> IO (), the idea being that client projects would only need to define main = mainFor myCustomRules to get the whole thing…
Cactus
  • 27,075
  • 9
  • 69
  • 149
1 2 3
8
9