GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing taskfile.dev — Quick Start | Task Quick Start The following guide will help introduce you to the basics of Task. We'll cover how to create a Taskfile, how to write a basic task and how to call it. If you haven't installed Task yet, head over to our installation guide. Creating your first Taskfile Once Task is installed, you can create your first Taskfile by running: shell This will create a file called shell Or if you want the Taskfile to have a specific name, you can pass in the name of the file: shell This will create a Taskfile that looks something like this: Taskfile.yml yaml As you can see, all Taskfiles are written in YAML format. The Finally, the Calling a task To call the task, invoke shell Note that we don't have to specify the name of the Taskfile. Task will automatically look for a file called If you created a Taskfile in a different directory, you can run it by passing the absolute or relative path to the directory as an argument using the shell Or if you created a Taskfile with a different name, you can run it by passing the name of the Taskfile as an argument using the shell Adding a build task Let's create a task to build a program in Go. Start by adding a new task called Task uses mvdan/sh, a native Go sh interpreter. So you can write sh/bash-like commands - even in environments where When you're done, it should look something like this: yaml Call the task by running: shell That's about it for the basics, but there's so much more that you can do with Task. Check out the rest of the documentation to learn more about all the features Task has to offer! We recommend taking a look at the usage guide next. Alternatively, you can check out our reference docs for the Taskfile schema and CLI. |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |