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

Standardised dev commands in a Makefile #806

Merged
merged 7 commits into from
May 3, 2024
Merged

Conversation

alcarney
Copy link
Member

@alcarney alcarney commented May 1, 2024

This is an initial attempt at moving to a standardised development environment based on a devcontainer. The container itself is nothing special - just a Ubuntu container that provides a known starting point.

The rest is then built up using a series of Makefile definitions, so assuming you have access to make, curl, tar and maybe a few other standard utilities it should be possible to rely on just the Makefiles - but I can't guarantee that.

Running make watch, from the code/ folder should be enough to bootstrap the environment needed to work on the VSCode extension

@alcarney alcarney changed the title Add devcontainer.json Standardised dev environments May 1, 2024
@alcarney alcarney force-pushed the dev-envs branch 4 times, most recently from 8ebb7b3 to 8c59fad Compare May 2, 2024 18:19
@alcarney alcarney changed the title Standardised dev environments Standardised dev commands in a Makefile May 3, 2024
@alcarney
Copy link
Member Author

alcarney commented May 3, 2024

This is going to be a gradual process, I tried launching the VSCode extension via the devcontainer.... and nothing worked! 🤦‍♂️ There's obviously more to using devcontainers than just building an image with the right set of tools in it.

However, having some common tasks automated is a good start! :)

@alcarney alcarney merged commit 768104d into swyddfa:develop May 3, 2024
14 of 15 checks passed
@alcarney alcarney deleted the dev-envs branch May 3, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant