Skip to content

Commit

Permalink
cleanup pipeline from cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanfaerman committed Feb 4, 2024
1 parent 4a236db commit 9776760
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions magefiles/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,17 +397,11 @@ func AssetPipeline() error {
src := filepath.Join("tmp/css", dir.Name(), file.Name())
dst := filepath.Join("internal/handlers/static", dir.Name(), file.Name())
os.MkdirAll(filepath.Dir(dst), 0755)
// fmt.Println(src, dst)
errs = append(errs, sh.Copy(dst, src))
}
}
}
return "", errors.Join(errs...)
errs = append(errs, sh.Copy("internal/handlers/static/site.min.css", "tmp/css/site.min.css"))
errs = append(errs, sh.Copy("internal/handlers/static/site.min.css.br", "tmp/css/site.min.css.br"))
errs = append(errs, sh.Copy("internal/handlers/static/site.min.css.gz", "tmp/css/site.min.css.gz"))

return "", errors.Join(errs...)
},
},
}
Expand Down

0 comments on commit 9776760

Please sign in to comment.