Skip to content

Commit

Permalink
Add Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmetcanozcan committed Aug 28, 2020
1 parent 63ecec5 commit ef5c008
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<h1 align="center" >
Dukefile
</h1>
</div>
<div align="center" >
a build tool that inspired from Magefile, for Deno
</div>
<br>
<br>

## Installation

Dukefile can be installed by Deno install tool easily

```cmd
deno install --allow-read https://deno.land/x/dukefile/bin/duke.ts
```

## Usage

Firstly, create `dukefile.ts` on root of the application and for running a spesified task, run this:

duke <task name>

or only `duke` for running `default` task

duke

#### Example dukefile.ts

```javascript

export function hello(){
console.log("Hello Task");
}

export default function(){
console.log("Default task");
}

```

0 comments on commit ef5c008

Please sign in to comment.