File tree Expand file tree Collapse file tree 13 files changed +91
-45
lines changed Expand file tree Collapse file tree 13 files changed +91
-45
lines changed Original file line number Diff line number Diff line change 11FROM ubuntu:24.04 AS spython-base
22RUN export DEBIAN_FRONTEND=noninteractive
33RUN 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
56RUN apt-get install -y --no-install-recommends python3
67RUN apt-get install -y --no-install-recommends python3.12-venv python3-pip
78RUN apt-get install -y --no-install-recommends build-essential
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ description: |
1616definedBy : Zicsr
1717assembly : xd, xs1, csr
1818encoding :
19- match : -----------------000 -----0010011
19+ match : -----------------010 -----0010011
2020 variables :
2121 - name : csr
2222 location : 31-20
Original file line number Diff line number Diff line change 1- 0.2
1+ 0.3
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ ROOT=$( dirname $( realpath $BASH_SOURCE [0]) )
4+ source $ROOT /setup
5+
6+ $BASH " $@ "
Original file line number Diff line number Diff line change 33ROOT=$( dirname $( realpath $BASH_SOURCE [0]) )
44source $ROOT /setup
55
6- $NODE " $@ "
6+ $NODE " $@ "
Original file line number Diff line number Diff line change 33ROOT=$( dirname $( realpath $BASH_SOURCE [0]) )
44source $ROOT /setup
55
6- $NPX " $@ "
6+ $NPX " $@ "
Original file line number Diff line number Diff line change 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 " $@ "
Original file line number Diff line number Diff line change 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+
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ ROOT=$( dirname $( realpath $BASH_SOURCE [0]) )
4+ source $ROOT /setup
5+
6+ $PYTHON " $@ "
Original file line number Diff line number Diff line change 33ROOT=$( dirname $( realpath $BASH_SOURCE [0]) )
44source $ROOT /setup
55
6- $RUBY " $@ "
6+ $RUBY " $@ "
You can’t perform that action at this time.
0 commit comments