mirror of
				https://github.com/XRPLF/clio.git
				synced 2025-11-04 03:45:50 +00:00 
			
		
		
		
	I started with really simple pre-commit hooks and will add more on top. Important files: - `.pre-commit-config.yaml` - the config for pre-commit - `.github/workflows/pre-commit.yml` - runs pre-commit hooks in branches and `develop` - `.github/workflows/pre-commit-autoupdate.yml` - autoupdates pre-commit hooks once in a month
		
			
				
	
	
		
			20 lines
		
	
	
		
			463 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			463 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
FROM ubuntu:focal
 | 
						|
ARG DEBIAN_FRONTEND=noninteractive
 | 
						|
ARG TARGETARCH
 | 
						|
 | 
						|
SHELL ["/bin/bash", "-c"]
 | 
						|
USER root
 | 
						|
WORKDIR /root
 | 
						|
 | 
						|
ENV CLANG_VERSION=16
 | 
						|
 | 
						|
RUN apt update -qq \
 | 
						|
    && apt install -qq -y --no-install-recommends --no-install-suggests \
 | 
						|
    wget software-properties-common gnupg
 | 
						|
 | 
						|
RUN wget https://apt.llvm.org/llvm.sh \
 | 
						|
    && chmod +x llvm.sh \
 | 
						|
    && ./llvm.sh ${CLANG_VERSION} \
 | 
						|
    && rm -rf llvm.sh \
 | 
						|
    && apt-get install -y libc++-16-dev libc++abi-16-dev
 |