Re: [racket-users] Why does my package have no build status?

2018-10-04 Thread David Storrs
On Thu, Oct 4, 2018 at 9:34 AM Greg Hendershott 
wrote:

> > As to the dependency, there's no reason that people need to have
> handy/test-more (the testing framework I use for struct-plus-plus)
> installed in order to use the module.
>
> Would it help to put `handy` in `build-deps` instead of `deps`?
>

I could do that but it's only using handy/test-more and the build server is
going to have no idea what to do with test-more tests as opposed to
rackunit tests.

What I suppose I could do is make test-more run a rackunit test at the end
that verifies no tests failed so that the build server could do something
useful with it.  Will the build server care if there is STDOUT ouput from
the tests?



>
> > It's not clear to me how to use compile-omit-files in an info.rkt file.
> Are there examples I could look at?
>
> Near the bottom of https://docs.racket-lang.org/raco/setup-info.html
> where the compile-* options are mentioned, it links to the docs for
> `compile-collection-zos` where there's more explanation:
>

Doh.  I went through that page, but clearly not carefully enough.  Thanks
for the pointer.



>
> https://docs.racket-lang.org/raco/API_for_Raw_Compilation.html#%28def._%28%28lib._compiler%2Fcompiler..rkt%29._compile-collection-zos%29%29
>
>
> As for usage examples: I usually grep the Racket source and/or use
> GitHub search:
>
>   https://github.com/search?=Codel=Racket=compile-omit-paths
>
> [ In fact I should probably make that into a little Emacs command that
> prompts for the last query parameter then does `browse-url`. :) ]
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Why does my package have no build status?

2018-10-04 Thread Greg Hendershott
> As to the dependency, there's no reason that people need to have 
> handy/test-more (the testing framework I use for struct-plus-plus) installed 
> in order to use the module.

Would it help to put `handy` in `build-deps` instead of `deps`?


> It's not clear to me how to use compile-omit-files in an info.rkt file.  Are 
> there examples I could look at?

Near the bottom of https://docs.racket-lang.org/raco/setup-info.html
where the compile-* options are mentioned, it links to the docs for
`compile-collection-zos` where there's more explanation:

  
https://docs.racket-lang.org/raco/API_for_Raw_Compilation.html#%28def._%28%28lib._compiler%2Fcompiler..rkt%29._compile-collection-zos%29%29


As for usage examples: I usually grep the Racket source and/or use
GitHub search:

  https://github.com/search?=Codel=Racket=compile-omit-paths

[ In fact I should probably make that into a little Emacs command that
prompts for the last query parameter then does `browse-url`. :) ]

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Why does my package have no build status?

2018-10-03 Thread David Storrs
On Wed, Oct 3, 2018 at 12:13 PM Sam Tobin-Hochstadt 
wrote:

> I'm not sure why you don't want to build some things. For example, the
> .scrbl files need to be built to allow documentation to appear on
> docs.racket-lang.org. However, the `compile-omit-files` key is what
> you'd want to use.
>
> Also, the build server runs your tests. You should just add a dependency.
>
> Sam
>

I'm using a non-standard testing framework and I would expect the build
server to choke on it.  This is also why I don't want it compiling some
things, specifically test_main.rkt and test_make_functional_setters.rkt
You're right about excluding too much, though -- I shouldn't have said
"anything aside from main.rkt" when I really only want to exclude the
testing files.

As to the dependency, there's no reason that people need to have
handy/test-more (the testing framework I use for struct-plus-plus)
installed in order to use the module.

It's not clear to me how to use compile-omit-files in an info.rkt file.
Are there examples I could look at?


On Wed, Oct 3, 2018 at 12:09 PM David Storrs  wrote:
> >
> > Cool, thanks.  How do I tell the server not to build anything aside from
> main.rkt?  The rest of what's there is module-private helpers.  I've looked
> through the docs on info.rkt and raco setup but had no luck.
> >
> > Also, how can I tell it to ignore certain dependencies?  It uses
> handy/test-more for testing, but that's not something the build server will
> know about or needs to know about.  I suppose I could put a #:platform
> 'none entry in the deps list, but that seems clunky.
> >
> >
> > On Wed, Oct 3, 2018 at 10:55 AM Sam Tobin-Hochstadt <
> sa...@cs.indiana.edu> wrote:
> >>
> >> I'm not sure why the status is missing on pkgs.racket-lang.org, but
> >> here's the build status:
> >> http://pkg-build.racket-lang.org/server/built/fail/struct-plus-plus.txt
> >>
> >> Sam
> >> On Wed, Oct 3, 2018 at 10:45 AM David Storrs 
> wrote:
> >> >
> >> > During RacketCon I posted struct-plus-plus to the packages list:
> https://pkgs.racket-lang.org/  Sadly, in the Build column it doesn't say
> "succeeds", "fails", or anything else...it's just a blank.  What do I need
> to do differently so that it can play all the reindeer games?
> >> >
> >> > --
> >> > 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.
> >> > For more options, visit https://groups.google.com/d/optout.
> >
> > --
> > 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.
> > For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Why does my package have no build status?

2018-10-03 Thread Sam Tobin-Hochstadt
I'm not sure why you don't want to build some things. For example, the
.scrbl files need to be built to allow documentation to appear on
docs.racket-lang.org. However, the `compile-omit-files` key is what
you'd want to use.

Also, the build server runs your tests. You should just add a dependency.

Sam
On Wed, Oct 3, 2018 at 12:09 PM David Storrs  wrote:
>
> Cool, thanks.  How do I tell the server not to build anything aside from 
> main.rkt?  The rest of what's there is module-private helpers.  I've looked 
> through the docs on info.rkt and raco setup but had no luck.
>
> Also, how can I tell it to ignore certain dependencies?  It uses 
> handy/test-more for testing, but that's not something the build server will 
> know about or needs to know about.  I suppose I could put a #:platform 'none 
> entry in the deps list, but that seems clunky.
>
>
> On Wed, Oct 3, 2018 at 10:55 AM Sam Tobin-Hochstadt  
> wrote:
>>
>> I'm not sure why the status is missing on pkgs.racket-lang.org, but
>> here's the build status:
>> http://pkg-build.racket-lang.org/server/built/fail/struct-plus-plus.txt
>>
>> Sam
>> On Wed, Oct 3, 2018 at 10:45 AM David Storrs  wrote:
>> >
>> > During RacketCon I posted struct-plus-plus to the packages list: 
>> > https://pkgs.racket-lang.org/  Sadly, in the Build column it doesn't say 
>> > "succeeds", "fails", or anything else...it's just a blank.  What do I need 
>> > to do differently so that it can play all the reindeer games?
>> >
>> > --
>> > 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.
>> > For more options, visit https://groups.google.com/d/optout.
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Why does my package have no build status?

2018-10-03 Thread David Storrs
Cool, thanks.  How do I tell the server not to build anything aside from
main.rkt?  The rest of what's there is module-private helpers.  I've looked
through the docs on info.rkt and raco setup but had no luck.

Also, how can I tell it to ignore certain dependencies?  It uses
handy/test-more for testing, but that's not something the build server will
know about or needs to know about.  I suppose I could put a #:platform
'none entry in the deps list, but that seems clunky.


On Wed, Oct 3, 2018 at 10:55 AM Sam Tobin-Hochstadt 
wrote:

> I'm not sure why the status is missing on pkgs.racket-lang.org, but
> here's the build status:
> http://pkg-build.racket-lang.org/server/built/fail/struct-plus-plus.txt
>
> Sam
> On Wed, Oct 3, 2018 at 10:45 AM David Storrs 
> wrote:
> >
> > During RacketCon I posted struct-plus-plus to the packages list:
> https://pkgs.racket-lang.org/  Sadly, in the Build column it doesn't say
> "succeeds", "fails", or anything else...it's just a blank.  What do I need
> to do differently so that it can play all the reindeer games?
> >
> > --
> > 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.
> > For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Why does my package have no build status?

2018-10-03 Thread Sam Tobin-Hochstadt
I'm not sure why the status is missing on pkgs.racket-lang.org, but
here's the build status:
http://pkg-build.racket-lang.org/server/built/fail/struct-plus-plus.txt

Sam
On Wed, Oct 3, 2018 at 10:45 AM David Storrs  wrote:
>
> During RacketCon I posted struct-plus-plus to the packages list: 
> https://pkgs.racket-lang.org/  Sadly, in the Build column it doesn't say 
> "succeeds", "fails", or anything else...it's just a blank.  What do I need to 
> do differently so that it can play all the reindeer games?
>
> --
> 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.
> For more options, visit https://groups.google.com/d/optout.

-- 
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.
For more options, visit https://groups.google.com/d/optout.