master
Simon Bruder 2020-08-24 23:02:08 +02:00
parent a5e703da42
commit 53d8d7af7d
No known key found for this signature in database
GPG Key ID: 6F03E0000CC5B62F
6 changed files with 16 additions and 45 deletions

View File

@ -19,8 +19,7 @@ steps:
- set -e
- echo "http://dl-cdn.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories
- apk add --no-cache git git-lfs jq py3-pip py3-virtualenv unzip wget zola
- pip3 install --no-cache-dir pipenv
- pipenv install
- pip3 install --no-cache-dir mutagen
- wget -qO - https://raw.githubusercontent.com/MestreLion/git-tools/master/git-restore-mtime | python3 -
- ./vendor.sh
- ./build.sh

1
.envrc Normal file
View File

@ -0,0 +1 @@
use nix

13
Pipfile
View File

@ -1,13 +0,0 @@
# vim: set ft=toml:
[[source]]
name = "pypi"
url = "https://pypi.org/simple"
verify_ssl = true
[dev-packages]
[packages]
mutagen = "*"
[requires]
python_version = "3.8"

29
Pipfile.lock generated
View File

@ -1,29 +0,0 @@
{
"_meta": {
"hash": {
"sha256": "127455b11ccc0f3968d05e2c6ef0b3532f68d20ac459d08f1aa4550c22ebb866"
},
"pipfile-spec": 6,
"requires": {
"python_version": "3.8"
},
"sources": [
{
"name": "pypi",
"url": "https://pypi.org/simple",
"verify_ssl": true
}
]
},
"default": {
"mutagen": {
"hashes": [
"sha256:6397602efb3c2d7baebd2166ed85731ae1c1d475abca22090b7141ff5034b3e1",
"sha256:9c9f243fcec7f410f138cb12c21c84c64fde4195481a30c9bfb05b5f003adfed"
],
"index": "pypi",
"version": "==1.45.1"
}
},
"develop": {}
}

View File

@ -3,6 +3,6 @@ set -e
./metadata.py
zola build
echo "Encoding…"
pipenv run ./encode.py
./encode.py
./metadata.py
zola build

13
shell.nix Normal file
View File

@ -0,0 +1,13 @@
{ pkgs ? import <nixpkgs> {}
, unstable ? import (fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz) {}
}:
pkgs.mkShell {
nativeBuildInputs = with pkgs; [
python38
python38Packages.mutagen
unstable.zola
unzip
wget
];
}