1
0
mirror of https://github.com/go-task/task.git synced 2024-12-14 10:52:43 +02:00
Commit Graph

1054 Commits

Author SHA1 Message Date
Andrey Nering
608d65f2b7 README: few fixes 2017-03-12 18:04:44 -03:00
Andrey Nering
94c33668bd Print command right before run 2017-03-12 18:02:33 -03:00
Andrey Nering
40b96ced43 Delete not used function 2017-03-12 17:20:15 -03:00
Andrey Nering
8c5e7e89cd Little refactor on command creation 2017-03-12 17:18:59 -03:00
Sascha Andres
678ea86350 Merge pull request #16 from go-task/feature/default-task
Support for a default task
2017-03-10 08:43:05 +01:00
Sascha Andres
ff2a442f93 Added README info for default task 2017-03-10 08:42:38 +01:00
Sascha Andres
12babf4204 Support for a default branch 2017-03-09 17:18:46 +01:00
Andrey Nering
53234b91e0 Prevent running command more than once 2017-03-08 20:13:52 -03:00
Andrey Nering
588de5d0dd Environment variable won't be commands.
This fixes execution on cmd on Windows because there are default
environmen variable beginning with $
2017-03-08 20:03:21 -03:00
Andrey Nering
b9d1af315d Do not support multiline result command by now 2017-03-08 19:03:17 -03:00
Andrey Nering
0cc7fae704 Using receiver instead of passing t.Env as parameters 2017-03-08 18:39:47 -03:00
Andrey Nering
3e3d8d8181 Use pointer as receiver to prevent copy 2017-03-08 18:36:05 -03:00
Andrey Nering
e2ffb6a276 Merge branch 'pull-14-@vars' 2017-03-08 18:35:26 -03:00
Andrey Nering
c3f3eb5f51 Unify ifs 2017-03-08 18:34:44 -03:00
Andrey Nering
3078a3ee68 Change "@" for "$" as dynamic var identifier 2017-03-08 18:32:32 -03:00
Sascha Andres
d55eb98477 Updated README for dynamic variables
Solves #11
2017-03-08 18:21:12 -03:00
Sascha Andres
fa936a54c0 Replaced regex with easier code 2017-03-08 18:21:11 -03:00
Sascha Andres
478d1466d9 First implementation of dynamic variables 2017-03-08 18:21:11 -03:00
Andrey Nering
2f317aa32c Vendor github.com/imdario/mergo 2017-03-08 18:17:07 -03:00
Sascha Andres
2e351e1f9b Merge pull request #13 from go-task/feature/os-specific
Feature/os specific
2017-03-07 16:01:19 +01:00
Sascha Andres
ef75d5061d Merge branch 'master'
Conflicts:
	README.md
	task.go
2017-03-07 12:35:45 +01:00
Sascha Andres
5b3c11eabd Merge pull request #9 from go-task/feature/env
Allow specifying additional environment settings
2017-03-07 12:31:46 +01:00
Sascha Andres
78bf1aeeac Updated README
Closes #4
2017-03-07 09:47:41 +01:00
Sascha Andres
6636cd38c0 Implemented os specific task file support 2017-03-07 09:45:14 +01:00
Sascha Andres
f686c7598f Merge pull request #12 from zbindenren/fix-trailing-whitespace
fix trailing white space for set instruction
2017-03-07 08:56:24 +01:00
Rene Zbinden
f9454a3808 fix trailing white space for set instruction 2017-03-07 08:01:20 +01:00
Sascha Andres
3291f60fe7 Added environment to README 2017-03-06 13:55:03 +01:00
Sascha Andres
2e52e101be Removed Taskfile.yml 2017-03-06 13:53:51 +01:00
Sascha Andres
72528af18a Applying variables to env section 2017-03-06 13:52:46 +01:00
Sascha Andres
6f7b26908f Added ability to add environment variables per task
Add an anv section to the task
2017-03-06 13:49:17 +01:00
Andrey Nering
4de3abe9e2 README: Have an Alternatives section 2017-03-05 17:31:30 -03:00
Andrey Nering
19f1200314 Fix typos 2017-03-05 17:19:29 -03:00
Andrey Nering
697e5466a5 Move Variables and template documentation to the bottom, since they are more advanced than the other topics 2017-03-05 17:12:57 -03:00
Andrey Nering
17c3a67be6 Fix Taskvar file documentation 2017-03-05 17:11:03 -03:00
Andrey Nering
41df7e19b4 README: document use of Go's template engine 2017-03-05 17:05:44 -03:00
Andrey Nering
91d5fa5fe6 Switch variable replacing with Go's template engine 2017-03-05 16:49:44 -03:00
Andrey Nering
6368c2fdb6 As convention, have variables in uppercase 2017-03-05 16:22:43 -03:00
Andrey Nering
08ab113b79 Minor refactor of readTaskvarsFile() 2017-03-05 16:21:22 -03:00
Andrey Nering
f4c8997192 Simple refactor of getEnvironmentVariables() 2017-03-05 16:17:50 -03:00
Andrey Nering
7db3db48b0 Minimal refactoring od isTaskUpToDate() 2017-03-05 15:59:30 -03:00
Andrey Nering
fa850d1440 Rename "variables" key to "vars" for brevity 2017-03-05 15:56:22 -03:00
Andrey Nering
3aaf1b2ec1 Refactoring and redirect Stdout and Stdin of not set var 2017-03-05 15:52:58 -03:00
Andrey Nering
4127ea5afe Merge branch 'pull-6-variables' 2017-03-05 15:48:51 -03:00
Sascha Andres
9bffad0f27 Changed name of Variables to Taskvars 2017-03-05 10:20:16 +01:00
Sascha Andres
561c213a92 Running deps first 2017-03-05 10:15:49 +01:00
Sascha Andres
d8f9b0697d Removed aliasing 2017-03-05 10:08:24 +01:00
Sascha Andres
e6bb0cfc6d Changed to be quiet when a variable is set 2017-03-05 10:07:08 +01:00
Sascha Andres
a9181255b8 Merge branch 'master' into master 2017-03-03 09:01:59 +01:00
Sascha Andres
4ba13e4e8a Updated README 2017-03-03 09:00:01 +01:00
Sascha Andres
b5fff68351 Merge branch 'develop' 2017-03-03 08:55:19 +01:00