Hello,

The main submodule is intended to be a way to have execution when run from 
racket/drracket. Maybe there is a way to use ++lib or ++named-lib flags to 
raco exe but I can't tell from the docs. I just removed your (module+ main 
...) wrapper and used the default tool settings from DrRacket and it works 
fine. So you might consider a separate file which isn't "main" which 
doesn't have this wrapper simply for distribution packaging purposes.

Regards,
Deren

On Monday, August 17, 2020 at 12:53:27 PM UTC-4 an...@andregarzia.com wrote:

> Good afternoon friends,
>
> I'm trying to build a distributable version of my little Gemini browser:
>
>   https://git.sr.ht/~soapdog/fafi-browser
>
> The source folder contains a `main.rkt` which has `(module+ main ...)` in 
> it. I thought that selecting that file and using the menu to create a 
> distribution should work. I also tried to come up with a build script based 
> on Alex build script for ActivityLog2:
>
>   https://git.sr.ht/~soapdog/fafi-browser/tree/maybe-build/build.rkt
>
> What is happening is that everything appears to build correctly on first 
> glance but nothing happens when I try running the `Fafi.exe` file. If I try 
> running it like `Fafi.exe -v` I get a `Racket v7.7` banner which makes me 
> think that my main module is not executing. This happens if I use my build 
> script or if I use the menu in DrRacket.
>
> Can someone share some pointers or feedback about where to look to fix 
> this? I greatly appreciate any feedback.
>
> Kind regards
> A.
>
> -- 
> https://www.andregarzia.com <http://www.andregarzia.com>
> Want to support me? Buy me a coffee at https://ko-fi.com/andregarzia
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/1d8e4cf3-e286-4827-91d4-367b453597a3n%40googlegroups.com.

Reply via email to