Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding clean target to ci-build target #2948

Merged

Conversation

algojack
Copy link
Contributor

While building with Brice, we noticed that make ci-build doesn't clean automatically, and we probably want that by default. So we decided to add it.

Are there any times we don't want clean included?

@codecov-commenter
Copy link

codecov-commenter commented Sep 24, 2021

Codecov Report

Merging #2948 (c4ac833) into master (eea0a75) will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2948      +/-   ##
==========================================
+ Coverage   47.43%   47.44%   +0.01%     
==========================================
  Files         369      369              
  Lines       59494    59494              
==========================================
+ Hits        28221    28229       +8     
+ Misses      27984    27980       -4     
+ Partials     3289     3285       -4     
Impacted Files Coverage Δ
data/abi/abi_type.go 92.03% <0.00%> (-1.00%) ⬇️
network/wsNetwork.go 62.84% <0.00%> (-0.50%) ⬇️
network/requestTracker.go 71.12% <0.00%> (-0.44%) ⬇️
ledger/acctupdates.go 64.82% <0.00%> (-0.20%) ⬇️
network/wsPeer.go 68.33% <0.00%> (+0.27%) ⬆️
catchup/peerSelector.go 100.00% <0.00%> (+1.04%) ⬆️
catchup/service.go 70.57% <0.00%> (+1.24%) ⬆️
crypto/merkletrie/node.go 93.48% <0.00%> (+1.86%) ⬆️
crypto/merkletrie/trie.go 68.61% <0.00%> (+2.18%) ⬆️
cmd/algoh/blockWatcher.go 80.95% <0.00%> (+3.17%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update eea0a75...c4ac833. Read the comment docs.

@@ -4,7 +4,7 @@ PKG_DIR = $(SRCPATH)/tmp/node_pkgs/$(OS_TYPE)/$(ARCH)

.PHONY: ci-clean ci-setup ci-build

ci-clean:
ci-clean: clean
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does clean do? Is it like cleanWs() which cleans the Workspace?

Copy link
Contributor Author

@algojack algojack Nov 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bricerisingalgorand a little help? I think it deletes temp files created during build command, but i'm not 100% sure.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That tries to delete all build/generated files in the current repo

Copy link
Contributor

@egieseke egieseke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.

@algojohnlee algojohnlee merged commit 9905421 into algorand:master Nov 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants