feat: setup licensed on the codespace
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "GitHub Actions (TypeScript)",
|
"name": "GitHub Actions (TypeScript)",
|
||||||
"image": "mcr.microsoft.com/devcontainers/typescript-node:20",
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:20",
|
||||||
"postCreateCommand": "npm install",
|
"postCreateCommand": ".devcontainer/post-create",
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"codespaces": {
|
"codespaces": {
|
||||||
"openFiles": ["README.md"]
|
"openFiles": ["README.md"]
|
||||||
@@ -36,6 +36,7 @@
|
|||||||
},
|
},
|
||||||
"features": {
|
"features": {
|
||||||
"ghcr.io/devcontainers/features/github-cli:1": {},
|
"ghcr.io/devcontainers/features/github-cli:1": {},
|
||||||
"ghcr.io/devcontainers-contrib/features/prettier:1": {}
|
"ghcr.io/devcontainers-contrib/features/prettier:1": {},
|
||||||
|
"ghcr.io/devcontainers/features/ruby:1": {}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Executable
+15
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
# Setup licensed
|
||||||
|
sudo apt update
|
||||||
|
sudo apt install -y \
|
||||||
|
cmake\
|
||||||
|
pkg-config
|
||||||
|
|
||||||
|
gem install licensed
|
||||||
|
|
||||||
|
# NPM install
|
||||||
|
npm install
|
||||||
|
|
||||||
Reference in New Issue
Block a user