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

Refac build configs #846

Merged
merged 5 commits into from
Dec 5, 2023
Merged

Conversation

Ashuaidehao
Copy link
Contributor

@Ashuaidehao Ashuaidehao commented Nov 20, 2023

Close #848

@Jim8y
Copy link
Contributor

Jim8y commented Nov 20, 2023

Why is this pr?

@Ashuaidehao
Copy link
Contributor Author

Why is this pr?

To prune dotnet publish outputs of neo plugin projects.

@shargon
Copy link
Member

shargon commented Nov 20, 2023

Please create an issue or at least describe the problem that you are trying to solve

@superboyiii
Copy link
Member

See #848 @shargon @Liaojinghui

Jim8y
Jim8y previously approved these changes Nov 24, 2023
@Jim8y
Copy link
Contributor

Jim8y commented Nov 24, 2023

Behaves the same as description #848

Copy link
Member

@vncoelho vncoelho left a comment

Choose a reason for hiding this comment

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

Looks good change!

@vncoelho
Copy link
Member

I will compile here and see results.

Jim8y
Jim8y previously approved these changes Nov 24, 2023
@superboyiii
Copy link
Member

Choose #849 or this? They have the same behaviour.

@superboyiii superboyiii mentioned this pull request Nov 27, 2023
@shargon
Copy link
Member

shargon commented Nov 27, 2023

This was first, isn't it?

@Jim8y
Copy link
Contributor

Jim8y commented Nov 28, 2023

This was first, isn't it?

Yes

@cschuchardt88
Copy link
Member

however when you dotnet build it will build all the files. and i thought you wanted no dependencies in the output. #849 doesn't have that problem in workflow actions.

Copy link
Member

@AnnaShaleva AnnaShaleva left a comment

Choose a reason for hiding this comment

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

Nice enhancement, we'll port it to neo-bench.

</Project>
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))" />
<ItemGroup>
<None Include="config.json" Condition="Exists('config.json') And '$(IncludeSettingsFileOutput)' != 'False'">
Copy link
Member

@AnnaShaleva AnnaShaleva Nov 29, 2023

Choose a reason for hiding this comment

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

We've excluded IncludeSettingsFileOutput from every project, so I think we don't need this condition ('$(IncludeSettingsFileOutput)' != 'False') to be presented here, it's just not relevant anymore.

Is config.json a configuration file of the module's dependent library? If so, then we probably just don't need to copy it while building the module.

Copy link
Contributor

Choose a reason for hiding this comment

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

We've excluded IncludeSettingsFileOutput from every project

Not every project, just part of them.

Copy link
Member

Choose a reason for hiding this comment

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

I mean from every neo-modules project. We don't have any mentions of IncludeSettingsFileOutput=False anymore in neo-modules.

@Jim8y Jim8y dismissed their stale review November 29, 2023 09:34

The merge-base changed after approval.

@Jim8y Jim8y merged commit b7c03f0 into neo-project:master Dec 5, 2023
3 checks passed
@Jim8y
Copy link
Contributor

Jim8y commented Dec 5, 2023

@Ashuaidehao this breaks the publish process, please check and fix.

Jim8y added a commit to Jim8y/neo-modules that referenced this pull request Dec 13, 2023
* 'master' of github.com:neo-project/neo-modules:
  Fix workflow (neo-project#857)
  Fix stack exception name (neo-project#855)
  update workflow (neo-project#856)
  Refac build configs (neo-project#846)
  Hotfix for neo-project#850 (neo-project#853)
  Fix RpcNativeContract (neo-project#851)
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.

Remove unnecessary dll when build or publish a plugin
7 participants