Switch the shell scripts to be executables too
This commit is contained in:
parent
d69ea2af02
commit
5787c97fcd
|
@ -1,5 +0,0 @@
|
||||||
FROM alpine:latest
|
|
||||||
RUN apk add guix
|
|
||||||
RUN mkdir -p ${HOME}/.config/guix
|
|
||||||
RUN echo "(cons (channel (name 'snow-fort) (url \"https://gitea.scheme.org/Rinne/snow-fort-guix-channel.git\")) %default-channels)" > ${HOME}/.config/guix/channels.scm
|
|
||||||
RUN guix-daemon & guix pull
|
|
|
@ -1,5 +0,0 @@
|
||||||
FROM debian:stable-slim
|
|
||||||
RUN apt update && apt install -y guix
|
|
||||||
RUN mkdir -p ${HOME}/.config/guix
|
|
||||||
RUN echo "(cons (channel (name 'snow-fort) (url \"https://gitea.scheme.org/Rinne/snow-fort-guix-channel.git\")) %default-channels)" > ${HOME}/.config/guix/channels.scm
|
|
||||||
RUN guix-daemon & guix pull
|
|
8
Makefile
8
Makefile
|
@ -3,19 +3,13 @@ TMPDIR=/tmp/snow-fort-guix-channel
|
||||||
build: repo.scm
|
build: repo.scm
|
||||||
mkdir -p ${TMPDIR}/hashes
|
mkdir -p ${TMPDIR}/hashes
|
||||||
./get-package-urls > ${TMPDIR}/package-urls.txt
|
./get-package-urls > ${TMPDIR}/package-urls.txt
|
||||||
sh ensure-hashes.sh ${TMPDIR}/hashes ${TMPDIR}/package-urls.txt
|
./ensure-hashes ${TMPDIR}/hashes ${TMPDIR}/package-urls.txt
|
||||||
mkdir -p packages
|
mkdir -p packages
|
||||||
./build-repo ${TMPDIR}
|
./build-repo ${TMPDIR}
|
||||||
|
|
||||||
repo.scm:
|
repo.scm:
|
||||||
wget https://snow-fort.org/s/repo.scm
|
wget https://snow-fort.org/s/repo.scm
|
||||||
|
|
||||||
test-debian:
|
|
||||||
docker build . -f Dockerfile.debian
|
|
||||||
|
|
||||||
test-alpine:
|
|
||||||
docker build . -f Dockerfile.alpine
|
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf packages
|
rm -rf packages
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
TMPDIR=${1}
|
TMPDIR=${1}
|
||||||
|
|
Loading…
Reference in New Issue