Skip to content

Commit

Permalink
Mage package configuration
Browse files Browse the repository at this point in the history
Implemented a package configuration for Mage (1), a make/rake-like build
tool using Go allowing to write plain-old go functions that'll
automatically be used as Makefile-like runnable targets.

>>>> Environment variables

See the official documentation about environment variables (2) for more
information.

>>>>>> `MAGEFILE_CACHE`

Set the path of the directory for the magefile build cache from the
default location `$HOME/.magefile` to `/tmp/.magefiles` since there is
no need to persist the cache across system restarts.

References:
  (1) https://magefile.org
  (2) https://magefile.org/environmen

Resolves GH-192
  • Loading branch information
arcticicestudio committed Mar 30, 2019
1 parent 330357d commit 39069be
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions snowblocks/bash/config/pkg/mage
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/usr/bin/env bash

# Copyright (C) 2016-present Arctic Ice Studio <[email protected]>
# Copyright (C) 2016-present Sven Greb <[email protected]>

# Project: igloo
# Repository: https://github.com/arcticicestudio/igloo
# License: MIT

# Set the path of the directory for the magefile build cache.
# The default is `$HOME/.magefile`, but there is no need to persist the cache across system restarts.
#
# @see https://magefile.org/environment
export MAGEFILE_CACHE="/tmp/.magefiles"

0 comments on commit 39069be

Please sign in to comment.