Skip to content

Add flag to build packages in debug mode#54

Open
afjoseph wants to merge 2 commits intorizinorg:mainfrom
afjoseph:debugbuilds
Open

Add flag to build packages in debug mode#54
afjoseph wants to merge 2 commits intorizinorg:mainfrom
afjoseph:debugbuilds

Conversation

@afjoseph
Copy link
Contributor

Hey guys. Thanks again for the wonderful tool. This PR allows the user to choose whether to do a debug build or not. I'm currently debugging a package and tinkering with it a bit. This PR allows me to do this without modifying the rz-pm codebase.

This PR is based off of #53. I did so since PR #53 was accepted (and we're just finalizing a couple of comments). Do look at that one before this one.

Lemme know if you agree. Cheers and many thanks ❤️

@ret2libc
Copy link
Member

Please rebase! Other PR merged in main :)

@afjoseph
Copy link
Contributor Author

Please rebase! Other PR merged in main :)

Done and done :D

Comment on lines +119 to +121
if isInstalled == "yes" {
fmt.Printf("Install location: %s\n", filepath.Join(site.GetArtifactsDir(), pkg.Source().Directory))
}
Copy link
Member

Choose a reason for hiding this comment

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

Isn't this the "build" directory?

@ret2libc
Copy link
Member

ret2libc commented Apr 2, 2024

Seems good to me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants