provider settings .remove_files only remove files, doesn't install new
Hi,
I added .remove_files for a web app-veyor client deployment project and when run, it just delete all the file in the directory but doesn't put new ones in. The blue console display screen only list the files being deleted but not any new ones being copied to the directory.
Setting .remove_files to false gives proper deployment behavior (but directory didn't get clear out before deployment).
Let me know if you need anything from me. Sorry i wasn't able to take a screen capture of the blue logging screen.
--Huy
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 17 Nov, 2014 08:05 PM
OK, let's see.
If
.remove_files
is not specified it'sfalse
by default, so whenever you specify it explicitly it makes sense to set it totrue
only.When
.remove_files
is set tofalse
AppVeyor enablesDoNotDeleteRule
(analogue to command line-enableRule:DoNotDeleteRule
) which means "leave extra files on destination". This is default behavior.When you set
.remove_files
totrue
the rule is not enabled and all files that are not in package should be removed from destination.What's your goal?
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.