Makefile: do not remove files to keep state clean

Currently the admin UI Makefile target deletes the .gitignore file.
While it being unnecessary to my findings it also causes and dirty
git repository, since files have been modified.
Removing this command lets the build process continue to work as expected
and since we are not commiting any files or assets later on this should
be fine.

Change-Id: Ibc1b7a8e456394ca19ea39dd8389c2ec03f066fc
This commit is contained in:
Stefan Benten 2022-01-07 20:36:43 +01:00
parent 1f8f7ebf06
commit 35113634f6

View File

@ -179,8 +179,6 @@ multinode-console:
.PHONY: satellite-admin-ui .PHONY: satellite-admin-ui
satellite-admin-ui: satellite-admin-ui:
# remove the file that keep the assets directory for not breaking in development due to the `go:embed` directive
rm -rf satellite/admin/ui/assets/.gitignore
# install npm dependencies for being embedded by Go embed. # install npm dependencies for being embedded by Go embed.
docker run --rm -i \ docker run --rm -i \
--mount type=bind,src="${PWD}",dst=/go/src/storj.io/storj \ --mount type=bind,src="${PWD}",dst=/go/src/storj.io/storj \