Skip to content
This repository was archived by the owner on Oct 10, 2023. It is now read-only.

Conversation

jcommelin
Copy link
Member

Please make sure you modified the files in src/solutions and used the mk_exercises.py script to recreate the files in src/exercises. Otherwise your modifications will soon be automatically overwritten.

.gitpod.yml Outdated
- jroesch.lean

tasks:
- command: . /home/gitpod/.profile && scripts/get-cache.sh
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a lean-liquid script, isn't it?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aah, that's a good point, I guess. I'll copy it over for now.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, I removed the call to that script. I don't think we have olean caches for the tutorials project, and maybe we don't need them either.

@robertylewis
Copy link
Member

Do you want to add a link/banner/whatever to the readme so it's easier to find? Otherwise looks good, we can test it live.

@jcommelin
Copy link
Member Author

Good idea. Done.

.gitpod.yml Outdated
- jroesch.lean

tasks:
- command: . /home/gitpod/.profile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this have a leanpkg configure and leanpkg get-mathlib-cache? (Or maybe just one of them)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know! I have no idea how gitpod works.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yeah. The call to the script you deleted would have done this in lean-liquid. https://github.com/leanprover-community/lean-liquid/blob/master/scripts/get-cache.sh

You need at least leanproject get-mathlib-cache. I don't know what directory this runs in, you might need the cd too.

@jcommelin
Copy link
Member Author

As I clearly have no idea what I'm doing, I would love to hand this over to someone who has experience with setting up repos for gitpod.

@PatrickMassot PatrickMassot merged commit 49d39db into master Mar 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants