Skip to content

Commit a62ec32

Browse files
authored
Merge branch 'main' into main
2 parents 7d65883 + 47dd809 commit a62ec32

File tree

13 files changed

+91
-45
lines changed

13 files changed

+91
-45
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
FROM ubuntu:24.04 AS spython-base
22
RUN export DEBIAN_FRONTEND=noninteractive
33
RUN apt-get update
4-
RUN apt-get install -y --no-install-recommends git
4+
RUN apt-get install -y --no-install-recommends git gh
5+
RUN apt-get install -y --no-install-recommends less
56
RUN apt-get install -y --no-install-recommends python3
67
RUN apt-get install -y --no-install-recommends python3.12-venv python3-pip
78
RUN apt-get install -y --no-install-recommends build-essential

arch/inst/Zicsr/csrrs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description: |
1616
definedBy: Zicsr
1717
assembly: xd, xs1, csr
1818
encoding:
19-
match: -----------------000-----0010011
19+
match: -----------------010-----0010011
2020
variables:
2121
- name: csr
2222
location: 31-20

bin/.container-tag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.2
1+
0.3

bin/bash

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
ROOT=$(dirname $(realpath $BASH_SOURCE[0]))
4+
source $ROOT/setup
5+
6+
$BASH "$@"

bin/node

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
ROOT=$(dirname $(realpath $BASH_SOURCE[0]))
44
source $ROOT/setup
55

6-
$NODE "$@"
6+
$NODE "$@"

bin/npx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
ROOT=$(dirname $(realpath $BASH_SOURCE[0]))
44
source $ROOT/setup
55

6-
$NPX "$@"
6+
$NPX "$@"

bin/pip

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
3+
ROOT=$(dirname $(realpath $BASH_SOURCE[0]))
4+
source $ROOT/setup
5+
6+
if [ ! -v VIRTUAL_ENV ]; then
7+
source ${ROOT}/.home/.venv/bin/activate
8+
fi
9+
10+
$PIP "$@"

bin/pre-commit

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
ROOT=$(dirname $(dirname $(realpath $BASH_SOURCE[0])))
4+
5+
${ROOT}/bin/bash -c "source ${ROOT}/.home/.venv/bin/activate && pre-commit $@"
6+

bin/python

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
3+
ROOT=$(dirname $(realpath $BASH_SOURCE[0]))
4+
source $ROOT/setup
5+
6+
$PYTHON "$@"

bin/ruby

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
ROOT=$(dirname $(realpath $BASH_SOURCE[0]))
44
source $ROOT/setup
55

6-
$RUBY "$@"
6+
$RUBY "$@"

0 commit comments

Comments
 (0)