Repository
Current version released
6 years ago
Versions
Dukefile
a build tool that inspired from Magefile, for Deno
Installation
Dukefile can be installed by Deno install tool easily
deno install --allow-read https://deno.land/x/dukefile/bin/duke.tsUsage
Firstly, create dukefile.ts on root of the application.
running for a spesified task:
duke <task name>or only duke for running default task
dukeExample dukefile.ts
export function hello(){
console.log("Hello Task");
}
export function echo(args : string[]){
console.log("Echo Task with",s);
}
export default function(){
console.log("Default Task");
}
export const build = {
linux() {
console.log("build::linux task");
}
}
duke hello
# prints: Hello Task
duke echo hal
# prints: Echo Task with hal
duke build::linux #or build:linux
#prints: build::linux task
duke
# prints: Default Task