Skip to content

Commit

Permalink
Merge pull request #12 from behrica/addSciclojTemplate
Browse files Browse the repository at this point in the history
Add scicloj template
  • Loading branch information
behrica authored May 21, 2024
2 parents 7d6c449 + 7a30184 commit 383b602
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
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

0 comments on commit 383b602

Please sign in to comment.