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

Add scicloj template #12

Merged
merged 2 commits into from
May 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
src/scicloj/.cpcache/
src/scicloj/.clj-kondo
src/scicloj/poetry.lock
/src/scicloj/.lsp/
src/scicloj/.lsp/
src/scicloj/.devcontainer/.devpod-internal
4 changes: 3 additions & 1 deletion src/scicloj/.devcontainer/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,6 @@

clj -Sthreads 1 -P
mkdir -p .venv
poetry install
poetry install
tic -x ./terminfo24bit.src
export TERM=xterm-24bits
10 changes: 10 additions & 0 deletions src/scicloj/.devcontainer/terminfo24bit.src
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Use colon separators.
xterm-24bit|xterm with 24-bit direct color mode,
use=xterm-256color,
setb24=\E[48:2:%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%dm,
setf24=\E[38:2:%p1%{65536}%/%d:%p1%{256}%/%{255}%&%d:%p1%{255}%&%dm,
# Use semicolon separators.
xterm-24bits|xterm with 24-bit direct color mode,
use=xterm-256color,
setb24=\E[48;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%dm,
setf24=\E[38;2;%p1%{65536}%/%d;%p1%{256}%/%{255}%&%d;%p1%{255}%&%dm,
4 changes: 4 additions & 0 deletions src/scicloj/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# unreleased

# 1.0.5
- true color for emacs -nw

# 1.0.4
- use setup.sh script

Expand Down
2 changes: 1 addition & 1 deletion src/scicloj/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "scicloj",
"version": "1.0.4",
"version": "1.0.5",
"name": "scicloj template",
"description": "A scicloj Template",
"documentationURL": "https://github.com/scicloj/devcontainer-templates/tree/main/src/scicloj",
Expand Down
Loading