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

FE.XF.GTK: open console app with --console arg #239

Closed
wants to merge 4 commits into from

Conversation

aarani
Copy link
Contributor

@aarani aarani commented Oct 26, 2023

This commit allows for XF.GTK to open/call console version when passed the "--console" argument.

For Frontend.Console to be callable/referenceable from Frontend.XF.GTK, it needs to be built in .netstandard2.0 instead of net6.0, this commit does that. .NETStandard build happens when either a flag is passed (for stockdotnet6+stockmono lane) or when we're building on mono (for other lanes building XF.GTK).

@aarani aarani force-pushed the addConsoleArg-squashed branch 2 times, most recently from 6dbe1e4 to b131e66 Compare October 26, 2023 10:19
scripts/make.fsx Outdated Show resolved Hide resolved
</PropertyGroup>
<Choose>
<When Condition="'$(BuildFrontendConsoleAsLibrary)'=='true' Or '$(MSBuildRuntimeType)'=='Mono'">
Copy link
Member

Choose a reason for hiding this comment

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

@aarani why filter by Mono here?

Copy link
Member

Choose a reason for hiding this comment

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

ping

Copy link
Contributor Author

@aarani aarani Nov 1, 2023

Choose a reason for hiding this comment

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

If we only rely on BuildFrontendConsoleAsLibrary , geewallet linux-legacy becomes unbuildable without that property.

Copy link
Contributor Author

@aarani aarani Nov 1, 2023

Choose a reason for hiding this comment

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

The only reason BuildFrontendConsoleAsLibrary is there, is for stockdotnet6+stockmono lane.

Copy link
Member

Choose a reason for hiding this comment

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

you know what I'm going to reply to this, right?

@aarani aarani force-pushed the addConsoleArg-squashed branch from a2fec37 to cd0ca70 Compare November 14, 2023 08:31
@Mersho Mersho force-pushed the addConsoleArg-squashed branch 2 times, most recently from 22ae58c to 6993324 Compare November 16, 2023 09:43
scripts/make.fsx Outdated
@@ -23,8 +23,9 @@ open Fsdk.Process
open GWallet.Scripting

let UNIX_NAME = "geewallet"
let CONSOLE_FRONTEND = "GWallet.Frontend.Console"
let GTK_FRONTEND = "GWallet.Frontend.XF.Gtk"
let SOLUTIONS_PREFIX = "GWallet"
Copy link
Member

Choose a reason for hiding this comment

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

@Mersho what? this is not a prefix for solutions

@Mersho Mersho force-pushed the addConsoleArg-squashed branch from 6993324 to c3d1927 Compare November 20, 2023 12:35
@knocte
Copy link
Member

knocte commented Jan 26, 2024

Self-reminder: mmm, as part of this PR we should probably include one last commit that runs integration tests with --update-servers parameter on the snap file.

knocte and others added 4 commits February 25, 2024 21:39
We wrap Program.fs' funcs inside a 'Program' module because this
way they will be able to be invoked from an external assembly.
Last commit was just adding 1-tab indentation.
This commit allows for XF.GTK to open/call console version when
passed the "--console" argument.

For Frontend.Console to be callable/referenceable from
Frontend.XF.GTK, it needs to be built in .netstandard2.0 instead
of net6.0, so this commit does that. .NETStandard build happens
when either a flag is passed (for stockdotnet6+stockmono lane)
or when we're building on mono (for other lanes building
XF.GTK).
This commit fixes the repetition of project file names in
make.fsx.

Co-authored-by: Afshin Arani <afshin@arani.dev>
@knocte knocte force-pushed the addConsoleArg-squashed branch from c3d1927 to ccdb07a Compare February 27, 2024 08:34
@knocte
Copy link
Member

knocte commented Feb 27, 2024

I separated 1st commit in two, so that I could include the 1st one in .git-blame-ignore-revs.

or when we're building on mono (for other lanes building
XF.GTK).

@aarani sorry I still don't understand the reason for this above ^ Why mono?

@knocte
Copy link
Member

knocte commented Mar 3, 2024

Superseded by #262

@knocte knocte closed this Mar 3, 2024
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.

3 participants