Thanks, that's helpful. I'll probably take the same route as you with a
build.rkt; it would be nice to have everything self-contained and not
depend on platform-specific shell scripts or another language.

martin

On Fri, Nov 8, 2019 at 7:06 PM Alex Harsanyi <alexharsa...@gmail.com> wrote:

>
> There is no such raco command, as far as I know.  I see two possible
> solutions to your problem:
>
> 1)  Place the raco commands in a shell script, so that the application can
> be built by running the single shell script
>
> 2) The raco pkg, make, exe and distribute commands all provide a Racket
> level API, so you could write a racket program which builds your
> application by running "racket build.rkt"
>
> I took the second approach with my application, and the Racket program
> which builds it is here:
> https://github.com/alex-hhh/ActivityLog2/blob/master/build.rkt
>
> In my application I decided not to install required modules, but instead
> to check if the required modules are present and report a helpful error
> message if they are not installed.
>
> Hope this helps.
>
> On Thursday, November 7, 2019 at 5:37:31 PM UTC+8, Martin DeMello wrote:
>>
>> I'd like to set up a project so that I can check out its git repo, call a
>> single raco command, and have it install all the packages it needs, compile
>> executables, and finally invoke raco distribute and generate a single
>> binary. I've gone through the docs for raco setup but it seems to be geared
>> towards installing into the current machine, and I couldn't find anything
>> else that looked relevant.
>>
>> martin
>>
> --
> 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/9761567c-fca1-4256-9599-a573fd60daf0%40googlegroups.com
> <https://groups.google.com/d/msgid/racket-users/9761567c-fca1-4256-9599-a573fd60daf0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAFrFfuFWoo9Jop0YUeEwnhLB7JFHqywUH7fahrU8WRFQxLu-oQ%40mail.gmail.com.

Reply via email to