Skip to content

Instantly share code, notes, and snippets.

required-tools: [["curl" "wget"] "diff" "patch" "tar" "unzip"]
wrap-build-commands: []
wrap-install-commands: []
wrap-remove-commands: []
This file has been truncated, but you can view the full file.
# Solver: builtin-mccs+glpk
# Criteria: -removed,-count[version-lag,request],-count[version-lag,changed],-changed
preamble:
property: opam-query: int = [0], version-lag: nat = [0], pinned: bool = [false], installed-root: bool = [false], reinstall: bool = [false], opam-version: string, opam-name: string
package: py
version: 4
depends: ocaml >= 50 , dune >= 45 , ctypes >= 46 , ctypes-foreign >= 2 , conf-python-3-dev
conflicts: py
opam-name: py
@AltGr
AltGr / reformat-branch.sh
Created May 10, 2022 16:24
Small script used to reformat a local branch commit by commit, using the ocamlformat configuration from origin/master
#!/bin/bash -uex
if [ $# -gt 0 ]; then
echo "Reformats the current branch patch by patch, according to the ocamlformat"
echo "config at origin/master. Use before rebase."
exit 1
fi
reformat() {
git checkout origin/master .ocamlformat