- The
CHANGELOG.mdis up to date - The copyrights are up to date
- Checkout the
developbranch (if using
| { pkgs ? import <nixpkgs> {} }: | |
| with pkgs; | |
| let | |
| inherit (lib) optional optionals; | |
| elixir = beam.packages.erlangR21.elixir_1_7; | |
| in | |
| mkShell { |
| { pkgs ? import <nixpkgs> {} }: | |
| with pkgs; | |
| let | |
| inherit (lib) optional optionals; | |
| elixir = beam.packages.erlangR21.elixir_1_7; | |
| nodejs = nodejs-10_x; | |
| postgresql = postgresql100; |
| #!/bin/sh | |
| echo | |
| if [ ! -d "deps" ] || [ ! "$(ls -A deps)" ]; then | |
| printf "\e[32m=> Fetching dependencies and building the application...\e[0m\n\n" | |
| echo "+ mix do deps.get, compile --verbose" | |
| mix do deps.get, compile --verbose | |
| echo | |
| fi |
| #################################### | |
| # Environment setup for Nix shells # | |
| #################################### | |
| # From https://github.com/direnv/direnv/wiki/Nix#persistent-cached-shell | |
| # | |
| # Usage: use_nix [...] | |
| # | |
| # Load environment variables from `nix-shell`. | |
| # If you have a `default.nix` or `shell.nix` one of these will be used and |
| #!/bin/sh | |
| filter_snapshots() { | |
| echo "$1" | grep $2 | tac | tail -n +$(($3 + 1)) | sed 's/.*@//' | sed -z 's/\n/,/g' | |
| } | |
| if [ $# -ne 6 ]; then | |
| echo "usage: $0 <dataset> <frequent> <hourly> <daily> <weekly> <monthly>" | |
| exit 1 | |
| fi |
| use std::{io, process::Command}; | |
| fn main() { | |
| define_version_with_git(); | |
| } | |
| /// Defines a variable containing the version with the Git revision. | |
| /// | |
| /// `VERSION_WITH_GIT` contains at least the cargo version, even when Git is not | |
| /// available. When Git is available, the current Git revision and dirty state |
| #!/bin/sh | |
| set -e | |
| set -x | |
| # Setup git-flow | |
| git flow init -d | |
| git config gitflow.prefix.versiontag "v" | |
| git config gitflow.feature.finish.no-ff true | |
| git config gitflow.release.finish.sign true |
| some-command-that-output-colors | tee >(sed -r 's/\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]//g' | sed -r 's/\r//g' > log.txt) |