Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add devcontainer support for judgels development #542

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Oct 21, 2023

  1. feat: add devcontainer support for judgels development

    This patch add initial configs for devcontainer, development inside
    container using vscode.
    https://code.visualstudio.com/docs/devcontainers/containers
    
    To use it, simply open judgels as follow:
    
    $ git clone https://github.com/ia-toki/judgels.git
    $ cd judgels
    $ code .
    
    Different container runtimes might need additional step. For example,
    with colima on macOS, the source code directory need to be mounted on
    start such as follow:
    
    $ colima start --cpu 6 --memory 16 --mount $JUDGELS_HOME:$JUDGELS_HOME:w
    
    Where $JUDGELS_HOME is an environment variable to judgels source code
    path in host filesystem.
    
    Testing:
    - Successfully compile the code with devcontainer on macOS
    rizaon committed Oct 21, 2023
    Configuration menu
    Copy the full SHA
    d1bc4ad View commit details
    Browse the repository at this point in the history