git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Fix #1104
commit743d16b3c53d68e13cf7c13efab6e9d5bb500857 authorHarry Garrood <harry@garrood.me> dateThu 7 May 2015, 08:32 (11 years ago) parentd54416a
4 files changed+4−17
get-dependency-licences−13 license/generate → license-generator/generate+4−4 license/header.txt → license-generator/header.txt license/tmp/.gitkeep → license-generator/tmp/.gitkeep
get-dependency-licencesdeleted−13
@@ -1,13 +0,0 @@
1−#!/bin/bash
2−set -e # exit on error
3−set -u # exit on undefined variable
4−set -o pipefail # propagate nonzero exit codes through pipelines
5−
6−while read dep; do
7− echo "fetching: ${dep}" >&2
8− echo "${dep} LICENSE file:"
9− echo ""
10− curl --silent "https://hackage.haskell.org/package/${dep}/src/LICENSE" \
11− | sed 's/^/ /g' # indent by 2 characters
12− echo ""
13−done
license/generate → license-generator/generaterenamed+4−4
@@ -16,7 +16,7 @@ if ! which cabal-dependency-licenses >/dev/null; then
1616fi
1717
1818echo_header() {
19− cat license/header.txt
19+ cat license-generator/header.txt
2020}
2121
2222echo_deps_names() {
@@ -35,10 +35,10 @@ echo_deps_licenses() {
3535 done
3636}
3737
38−echo_deps_names > license/tmp/deps.txt
38+echo_deps_names > license-generator/tmp/deps.txt
3939
4040echo_header
4141echo ""
42−sed <license/tmp/deps.txt 's/^/ /'
42+sed <license-generator/tmp/deps.txt 's/^/ /'
4343echo ""
44−echo_deps_licenses <license/tmp/deps.txt
44+echo_deps_licenses <license-generator/tmp/deps.txt
license/header.txt → license-generator/header.txtrenamed

The content is the same.

license/tmp/.gitkeep → license-generator/tmp/.gitkeeprenamed

The content is the same.