1
0
mirror of https://github.com/magefile/mage.git synced 2026-10-24 06:19:18 +03:00
Commit Graph

56 Commits

Author SHA1 Message Date
Nate Finch
0f9693c143 implement importing magefiles (#187)
implement mageimports
2018-10-10 23:44:18 -04:00
Nate Finch
eb66d62c43 badges (#179) 2018-09-23 23:32:13 -04:00
Nate Finch
1de6d88631 another badge 2018-09-23 09:37:41 -04:00
Nate Finch
d3c88d8b5b another badge 2018-09-22 09:24:31 -04:00
Nate Finch
1acc1deeb0 another badge 2018-09-22 09:15:53 -04:00
Nate Finch
28a13b112d another badge 2018-09-22 09:13:37 -04:00
Nate Finch
193b58b27b badge3 2018-09-22 08:48:32 -04:00
Nate Finch
43c89660ec badge2 2018-09-22 08:35:36 -04:00
Nate Finch
ddf6c425c7 badge 2018-09-22 08:30:09 -04:00
Nate Finch
4a8104737c fix some code blocks 2018-09-18 23:35:48 -04:00
Nate Finch
a9a0e40d28 Rely on GOCACHE rather than our own hashing mechanism (#168)
use gocache and add some debug timing logs
2018-09-18 23:05:49 -04:00
Nate Finch
f0ff90fe6c MAGEFILE_IGNOREDEFAULT flag (#167)
* implement ignore default environment variable
2018-09-16 22:44:37 -04:00
Nate Finch
c01f199512 Add -d flag to set the working directory (#159)
* add -d flag to set the directory in which to run.
2018-09-12 00:03:05 -04:00
Nate Finch
8288ed6198 v1.4.0 release announcement 2018-09-11 10:09:51 -04:00
Hanzei
ecc7670db5 Fix error in v1.3.0 blog post (#158) 2018-09-11 08:56:43 -04:00
James Lucktaylor
75279a9801 Fixed up a few grammar/formatting bits (#155) 2018-09-10 13:34:14 -04:00
Nate Finch
b1a215cf75 add link to release name 2018-09-07 21:54:07 -04:00
Nate Finch
f2b9062373 release 1.3.0 post 2018-09-07 21:48:40 -04:00
Nate Finch
35061ba2af fix dates 2018-09-07 11:33:03 -04:00
Nate Finch
a6b2986fdd Website tweaks (#151)
Website tweaks
2018-09-07 11:19:28 -04:00
Nate Finch
89e78b10b7 on versions 2018-09-07 10:01:07 -04:00
Nate Finch
3b186ec68d add bullhorn to blog link 2018-09-06 22:59:42 -04:00
Nate Finch
9807f1f388 remove explicit blog menu thingy 2018-09-06 22:53:34 -04:00
Nate Finch
2b5e82d3c6 add blog posts 2018-09-06 22:51:28 -04:00
Nate Finch
bd5486e7f9 Add support for choosing what binary to run with mage (#146)
* add support for choose which go binary to run
* make the compiler configurable
* add a cli flag and update docs
* use go version as part of the binary hash
* add go version to what we display in mage -version
2018-09-06 21:23:00 -04:00
Nate Finch
e592274bed new demo video 2018-09-05 23:30:37 -04:00
Nate Finch
01342b9221 Add debug flag (#143)
* add a bunch of debug logging
2018-08-31 08:45:43 -06:00
Nate Finch
cfd05cd422 Output package docs with target list (#134)
* output package doc in mage -l

* add go 1.10 and 1.11 to test harness
2018-08-25 10:21:58 -04:00
Sunny
80d390cfb9 usage: separate commands and options (#96)
usage: separate commands and options

This change separates command and option flags in the usage by replacing
`flag.PrintDefaults()` with `text/tabwriter` and flag lookups iterating
over command and option flags.

This change moves -l and -h into commands. With this, both option and
commands have `-h` with different descriptions.
2018-07-31 14:56:11 -04:00
Nate Finch
3ff5dec7c0 docs for namespaces (#125)
docs for namespaces
2018-07-22 22:14:59 -04:00
James Nugent
5e51f9ad1e Document requiring mage for 0-install with dep (#116) 2018-04-12 11:54:34 -04:00
James Nugent
771ebed3d6 Add -compile flag to compile a static binary (#115)
* meta: Ignore Goland project files

* Add `-compile` flag to compile a static binary

This commit adds a new flag, `-compile`, which takes the argument of the
path to which to compile a static binary, but not execute it. This is
useful if you wish to run tasks on a machine which does not have Go
available.

* Add documentation for the -compile flag

* Imply `-force` with `-compile`
2018-04-11 13:03:07 -04:00
Vincent Rischmann
81dbe7074b Fix typo in the targets page (#105) 2018-02-12 11:24:26 -05:00
Bob Henkel
ecff8738c3 Fix broken link (#103) 2018-01-29 14:28:23 -05:00
Marcin Białoń
898127b487 Support for aliases (#58) (#90) 2017-11-06 23:42:24 -05:00
rougepied
a693abc2e1 Update _index.en.md (#91)
typo
2017-11-01 19:02:03 -04:00
Nate Finch
bf7f17a50d fix mage install (#89)
fix mage install

Go install -a can fail if goroot is not writeable, so use go build instead.
2017-10-27 14:19:35 -04:00
Nate Finch
accd8ef3f5 update logo with text (#87) 2017-10-26 10:32:34 -04:00
Nate Finch
aefb6e8744 new font for the logo (#86) 2017-10-25 18:38:50 -04:00
Nate Finch
58812e2230 Enable bootstrap build (#85)
* Enable bootstrap build

Added a bootstrap.go file that can be used with go run to install mage even if you don't
have mage intalled.

Update readme and main website page with better install directions
2017-10-25 10:11:34 -04:00
Nate Finch
9d728eff80 remove mg dep from mainfile (#84)
We now create the context in the mainfile, so as to remove any dependency on
the mg library, since the user may have an older version vendored, that doesn't
have the Context function.

ALso added a test to ensure that we don't import any non-stdlib libraries in the
mainfile to avoid problems like this in the future.
2017-10-24 21:48:32 -04:00
Steve Manuel
801623504d [site] minor typo fix (#82)
fix comma -> period
2017-10-23 11:32:39 -04:00
Dragos Plesca
68180ebead Fix various typos (#80) 2017-10-22 09:21:27 -04:00
Nate Finch
2060ed7853 Docs for file sources (#78) 2017-10-18 22:20:47 -04:00
Nate Finch
3c8c70c0c3 doc context targets (#77) 2017-10-18 21:46:22 -04:00
Nate Finch
0eef6fef9d add serial deps and rename DepsWithContext (#76) 2017-10-18 21:34:15 -04:00
Nate Finch
be7943de50 Support multiple targets (#65)
* support multiple targets

* fix #66

* isolated list test

* add clean target to mage's magefile
2017-10-18 10:40:37 -04:00
James S
df367221b6 context for jobs (#32)
Allows for jobs that take and call with a context.  Closes #25
2017-10-17 23:57:04 -04:00
Jason Hancock
3c5af14840 website: typo on dependencies page. g should depend on h, not on itself (#73) 2017-10-16 12:59:28 -04:00
Marcel Molina
8cb519c584 Typo s/ths/this/ (#59) 2017-10-13 10:45:52 -04:00