Skip to content

Instantly share code, notes, and snippets.

@OlingCat
Last active July 9, 2018 15:49
Show Gist options
  • Save OlingCat/7b532884e592ce4a89c250cd26cf9247 to your computer and use it in GitHub Desktop.
Save OlingCat/7b532884e592ce4a89c250cd26cf9247 to your computer and use it in GitHub Desktop.
How to build racket repos with customized packages?

I'm translating the Racket docs into Chinese and it's available at here partially. Every time I translated a section, I need to run "make" in the racket source code directory and waiting for a long time to see the result in racket/doc.

Recently, our organization Racket-zh translated the racket/scribble template to generate Chinese pages and racket/htdp for HtDP/2e Chinese techpack, so we want to use our customized scribble to generate these docs at once. If I run "make" in the racket source code directory, it just gets the original packages from pkgs.racket-lang.org to build whole distribution and ignored our scribble and htdp. So there are actually three problems:

  1. How do I use our customized scribble to build the racket-doc and htdp?
  2. How to reduce build time? I have racket installation and just need the result in racket/doc.
  3. Is there a possibility to build our own packages source so "raco pkgs" will gets those first and then the original source?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment