Skip to content

Commit

Permalink
Remoove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
sarg3nt committed May 25, 2024
1 parent 581d234 commit 37ecc7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ jobs:
fail-fast: false
matrix:
os:
# See: https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#standard-github-hosted-runners-for-public-repositories
- ubuntu-latest
#- macos-latest
- macos-12 # Intel
- macos-latest # M series
# - windows-latest # broken
runs-on: ${{ matrix.os }}
steps:
- name: asdf_plugin_test
Expand Down
12 changes: 0 additions & 12 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -112,15 +112,7 @@ download_release() {
"tar.gz") tar -xvzf "micro.$extension" "micro-$version/micro" ;;
esac

# Debug code
ls -alh
ls -alh "micro-$version"

mv "micro-$version/micro" "$filename"
echo ""
echo "ls filename"
ls -alh "$filename"

rm "micro.$extension"
rm -rf "micro-$version"
}
Expand All @@ -139,10 +131,6 @@ install_version() {
cp -r "$ASDF_DOWNLOAD_PATH"/* "$install_path"
mv "$install_path/${TOOL_NAME}-${version}" "$install_path/${TOOL_NAME}"

# /tmp/asdf.tbmd/downloads/micro/2.0.13/micro-2.0.13
# /tmp/asdf.tbmd/installs/micro/2.0.13/bin/micro to be executable.

# TODO: Assert micro executable exists.
local tool_cmd
tool_cmd="$(echo "$TOOL_TEST" | cut -d' ' -f1)"
test -x "$install_path/$tool_cmd" || fail "Expected $install_path/$tool_cmd to be executable."
Expand Down

0 comments on commit 37ecc7f

Please sign in to comment.