fix(build): avoid removing untracked git changes by `make clean`
Use `make deep-clean` for deep cleaning
This commit is contained in:
parent
054356fed2
commit
cb3a88f93a
4
Makefile
4
Makefile
|
@ -347,9 +347,11 @@ ci-race: lint canary-test test-unit test-e2e-race ##@tests Run all linters and t
|
||||||
|
|
||||||
clean: ##@other Cleanup
|
clean: ##@other Cleanup
|
||||||
rm -fr build/bin/* mailserver-config.json
|
rm -fr build/bin/* mailserver-config.json
|
||||||
|
|
||||||
|
git-clean:
|
||||||
git clean -xf
|
git clean -xf
|
||||||
|
|
||||||
deep-clean: clean
|
deep-clean: clean git-clean
|
||||||
rm -Rdf .ethereumtest/StatusChain
|
rm -Rdf .ethereumtest/StatusChain
|
||||||
|
|
||||||
tidy:
|
tidy:
|
||||||
|
|
|
@ -68,6 +68,6 @@ pipeline {
|
||||||
post {
|
post {
|
||||||
success { script { github.notifyPR(true) } }
|
success { script { github.notifyPR(true) } }
|
||||||
failure { script { github.notifyPR(false) } }
|
failure { script { github.notifyPR(false) } }
|
||||||
cleanup { sh 'make clean' }
|
cleanup { sh 'make deep-clean' }
|
||||||
} // post
|
} // post
|
||||||
} // pipeline
|
} // pipeline
|
||||||
|
|
|
@ -73,6 +73,6 @@ pipeline {
|
||||||
post {
|
post {
|
||||||
success { script { github.notifyPR(true) } }
|
success { script { github.notifyPR(true) } }
|
||||||
failure { script { github.notifyPR(false) } }
|
failure { script { github.notifyPR(false) } }
|
||||||
cleanup { sh 'make clean' }
|
cleanup { sh 'make deep-clean' }
|
||||||
} // post
|
} // post
|
||||||
} // pipeline
|
} // pipeline
|
||||||
|
|
|
@ -75,6 +75,6 @@ pipeline {
|
||||||
post {
|
post {
|
||||||
success { script { github.notifyPR(true) } }
|
success { script { github.notifyPR(true) } }
|
||||||
failure { script { github.notifyPR(false) } }
|
failure { script { github.notifyPR(false) } }
|
||||||
cleanup { sh 'make clean' }
|
cleanup { sh 'make deep-clean' }
|
||||||
} // post
|
} // post
|
||||||
} // pipeline
|
} // pipeline
|
||||||
|
|
Loading…
Reference in New Issue