Simon Michael <[EMAIL PROTECTED]> writes:

> A last patch from the california-timezone IRC sprint! 
>
> Mon Oct 27 00:03:41 PDT 2008  Simon Michael <[EMAIL PROTECTED]>
>   * "make continuous" or "make ci" rebuilds darcs whenever files change 
>   Leave this running in a side window, or in a emacs
>   compilation/comint-minor-mode buffer, to get rapid feedback from GHC as
>   you edit code. Useful! Requires a patched version of searchpath, see
>   makefile.
>
>
> New patches:
>
> ["make continuous" or "make ci" rebuilds darcs whenever files change 
> Simon Michael <[EMAIL PROTECTED]>**20081027070341
>  Ignore-this: 10d7c3097310b08b93c3e70fadda9005
>  Leave this running in a side window, or in a emacs
>  compilation/comint-minor-mode buffer, to get rapid feedback from GHC as
>  you edit code. Useful! Requires a patched version of searchpath, see
>  makefile.
> ] hunk ./GNUmakefile 345
>       @$(GHC) $(GHCFLAGS) $(OPTLLDFLAGS) -o $@ $^ $(OPTLLIBS)
>  endif
>  
> +# rebuild whenever a module changes, using searchpath
> +# Requires a patched version: darcs get http://joyful.com/repos/searchpath
> +SP=sp --no-default-map --no-exts --sp-verbose 1
> +SPDARCSCMD="--version"
> +SPLAST=--run $(SPDARCSCMD)
> +continuous ci:
> +     @$(SP) $(GHC) --make $(GHCFLAGS) $(OPTLLDFLAGS) -o darcs src/darcs.lhs 
> $(C_OBJS) $(OPTLLIBS) $(SPLAST)
> +

This needs another line, because "continuous" and "ci" aren't files that
are created by the rule.

    .PHONY: continuous ci

_______________________________________________
darcs-users mailing list
[email protected]
http://lists.osuosl.org/mailman/listinfo/darcs-users

Reply via email to