1
0
mirror of https://github.com/go-task/task.git synced 2024-12-29 02:57:27 +02:00
Commit Graph

291 Commits

Author SHA1 Message Date
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
Andrey Nering
ae8f405ef9 Have a lint task 2017-03-02 21:06:52 -03:00
Andrey Nering
2e1d0ab4a6 Fix README typos 2017-03-02 21:02:48 -03:00
Andrey Nering
576b18246a Prefix all output messages from task with "task: "
This makes it easier to know if a message comes from task or from a command
stdout or stderr
2017-03-02 20:56:40 -03:00
Andrey Nering
a9b8e31228 Move error types to its own file 2017-03-02 20:52:03 -03:00
Andrey Nering
b8116015c7 Minor improvements for #5 2017-03-02 20:45:52 -03:00
Andrey Nering
f7d119f544 Merge pull request #5 from sascha-andres/master
Simple cyclic dependency detection
2017-03-02 20:39:20 -03:00
Sascha Andres
6733ef458f Explained usage of set with multiple commands 2017-03-02 20:34:35 +01:00
Sascha Andres
9abe71e967 Moved handleVariables() into command loop 2017-03-02 20:34:09 +01:00
Sascha Andres
8619c8d417 Added documentation for variables
Closes #2
2017-03-02 20:27:26 +01:00
Sascha Andres
eb783d04b8 Allow setting a variable 2017-03-02 20:19:25 +01:00
Sascha Andres
67e5c1eaf3 Added explantation to README 2017-03-02 19:54:45 +01:00
Andrey Nering
c655f23755 Running deps before verifying if the current task is up-to-date 2017-03-02 08:56:13 -03:00
Sascha Andres
b9820c5c7d Handling errors on variable handling
Relates to #2
2017-03-02 11:30:59 +01:00