We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96f8ceb commit cb020e5Copy full SHA for cb020e5
.travis.yml
@@ -1,4 +1,5 @@
1
language: bash
2
3
script:
4
- - bin/configlet-linux-amd64 .
+ - bin/fetch-configlet
5
+ - bin/configlet .
bin/fetch-configlet
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+LATEST=https://github.com/exercism/configlet/releases/latest
+VERSION="$(curl --head --silent $LATEST | awk -v FS=/ '/Location:/{print $NF}' | tr -d '\r')"
6
+URL=https://github.com/exercism/configlet/releases/download/$VERSION/configlet-linux-amd64.tgz
7
8
+curl -s --location $URL | tar xz -C bin/
0 commit comments