git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Fix #1104
743d16bHarry Garrood
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
16fi
16fi
17
17
18echo_header() {
18echo_header() {
19− cat license/header.txt
19+ cat license-generator/header.txt
20}
20}
21
21
22echo_deps_names() {
22echo_deps_names() {
@@ -35,10 +35,10 @@ echo_deps_licenses() {
35 done
35 done
36}
36}
37
37
38−echo_deps_names > license/tmp/deps.txt
38+echo_deps_names > license-generator/tmp/deps.txt
39
39
40echo_header
40echo_header
41echo ""
41echo ""
42−sed <license/tmp/deps.txt 's/^/ /'
42+sed <license-generator/tmp/deps.txt 's/^/ /'
43echo ""
43echo ""
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.