[darcs-users] darcs patch: "make continuous" or "make ci" rebuilds darcs whenever...
Trent W. Buck
trentbuck at gmail.com
Mon Oct 27 10:23:54 UTC 2008
Simon Michael <simon at joyful.com> writes:
> A last patch from the california-timezone IRC sprint!
>
> Mon Oct 27 00:03:41 PDT 2008 Simon Michael <simon at joyful.com>
> * "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 <simon at joyful.com>**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
More information about the darcs-users
mailing list