Skip to content
Snippets Groups Projects
Maidfile.toml 333 B
Newer Older
  • Learn to ignore specific revisions
  • [project]
    
    theMackabu's avatar
    theMackabu committed
    name = "script"
    
    version = "0.2.1"
    
    
    [tasks]
    clean = { script = ["rm -rf bin", "mkdir bin"] }
    
    theMackabu's avatar
    theMackabu committed
    run = { script = ["maid build -q", "./bin/script"] }
    
    
    [tasks.build]
    depends = ["clean"]
    script = [
       "cargo zigbuild --release", 
    
    theMackabu's avatar
    theMackabu committed
       "cp target/release/script bin/script"
    
    ]
    
    [tasks.build.cache]
    path = "src"
    
    theMackabu's avatar
    theMackabu committed
    target = ["bin/script"]