Zulip Chat Archive

Stream: general

Topic: playground for github


Billy Price (Jun 22 2021 at 10:57):

I've see then lean playground for code snippets here in zulip, I'd like to know if there's a way I can attach one to a github repository so my lean code can be viewed and stepped through by anyone

Eric Wieser (Jun 22 2021 at 10:58):

Gitpod is probably your best bet

Billy Price (Jun 22 2021 at 10:59):

Even if it's one file?

Eric Wieser (Jun 22 2021 at 10:59):

I mean, you said you had a github repository right?

Eric Wieser (Jun 22 2021 at 11:00):

I added gitpod support to my repo recently, all you need is a single yml file and a link:

https://github.com/pygae/lean-ga/compare/778537b%5E...1bde715

Eric Wieser (Jun 22 2021 at 11:01):

Also by making it a proper lean project with a leanpkg.toml you can specify the exact version of lean and mathlib that your single file needs, otherwise it's doomed to break.

Billy Price (Jun 22 2021 at 11:05):

Okay I tried it out, and it seems a bit heavy. Myabe that's just due to the size of your repo. I'll give it a go for my repo, thanks :)

Eric Wieser (Jun 22 2021 at 11:14):

If you're not using mathlib at all you can probably make it less heavy, but I assume you are


Last updated: Dec 20 2023 at 11:08 UTC