racket/pkgs/racket-doc/scribblings
Matthew Flatt 63f7cf1568 raco setup: try harder to delete files such as DLLs
If "sqlite3.dll" is installed as a foreign library but shouldn't
be, then `raco setup` cannot simply deleet the file, because
starting `raco setup` opened the DLL. To avoid that problem,
rename the file to start with "raco-setup-delete-", then attempt to
delete the renamed file; the delete won't work, but the file
will be moved out of the way, and a future `raco setup` can
clean up.

The prefix "raco-setup-delete-" thus becomes special on Windows for
the directories that hold foreign libraries, shared files, and
man pages, because `raco setup` will try to delete any file
that starts with "raco-setup-delete-".

It's all very ugly, but I don't have a better idea for the
problems that I keep hitting.
2014-12-13 09:16:52 -07:00
..
foreign added register-finalizer-and-custodian-shutdown 2014-12-12 00:25:31 -05:00
getting-started remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
guide remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
inside remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
more remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
raco raco setup: try harder to delete files such as DLLs 2014-12-13 09:16:52 -07:00
reference add cons/dc 2014-12-12 23:41:09 -06:00
scheme remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
style remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
finger.png remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
icons.css remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
icons.rkt remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
icons.tex remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
info.rkt remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00
magnify.png remove the "racket-pkgs" directory layer 2014-12-08 05:22:59 -07:00