You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make distclean removes version-controlled files #21163
$ git statusOn branch masterYour branch is up-to-date with 'origin/master'.nothing to commit, working tree clean
$ make distcleanrm -f -r outrm -f config.gypi icu_config.gypi config_fips.gypirm -f config.mkrm -f -r node node_grm -f -r node_modulesrm -f -r deps/icurm -f -r deps/icu4c*.tgz deps/icu4c*.zip deps/icu-tmprm -f node-v11.0.0-darwin-x64.tar.* node-v11.0.0.tar.*rm -f -r deps/v8/testing/gmock
$ git statusOn branch masterYour branch is up-to-date with 'origin/master'.Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) deleted: deps/v8/testing/gmock/BUILD.gn deleted: deps/v8/testing/gmock/OWNERS deleted: deps/v8/testing/gmock/include/DEPS deleted: deps/v8/testing/gmock/include/gmock/gmock-actions.h deleted: deps/v8/testing/gmock/include/gmock/gmock-generated-function-mockers.h deleted: deps/v8/testing/gmock/include/gmock/gmock-matchers.h deleted: deps/v8/testing/gmock/include/gmock/gmock.hno changes added to commit (use "git add" and/or "git commit -a")
$
I'm not sure if the right solution is to change the Makefile so it doesn't delete those files, or if the right solution is to remove those files from version control. I'm guessing it's the former, but maybe they get generated? (If I had compilation working on my machine right now, I'd test/check.)
Activity
Trott commentedon Jun 6, 2018
@nodejs/build
[-]make distclean removes version controlled files[/-][+]make distclean removes version-controlled files[/+]targos commentedon Jun 6, 2018
These files were added to version control by the V8 project in v8/v8@539e907 (V8 6.7) so yes, changing the Makefile seems like the right thing to do.
@nodejs/v8-update
ryzokuken commentedon Jun 6, 2018
I'd side with the former too. They're version-controlled files that were updated recently.
Making a PR.
build: stop distclean from deleting v8 files
build: stop distclean from deleting v8 files
build: stop distclean from deleting v8 files
build: stop distclean from deleting v8 files