github.com/beauknowssoftware/makehcl@v0.0.0-20200322000747-1b9bb1e1c008/internal/run/testdata/build_once/make.hcl (about)

     1  default_goal = [
     2    "test.txt",
     3    "test2.txt",
     4  ]
     5  
     6  rule {
     7    target       = "test.txt"
     8    command      = "touch test.txt"
     9    dependencies = ["test3.txt"]
    10  }
    11  
    12  rule {
    13    target       = "test2.txt"
    14    command      = "touch test2.txt"
    15    dependencies = ["test3.txt"]
    16  }
    17  
    18  rule {
    19    target  = "test3.txt"
    20    command = "echo hello >> test3.txt"
    21  }