Skip to content

Commit 9e1c68b

Browse files
author
Cédric Belin
committed
Update the "dist" task
1 parent 7a2e6e0 commit 9e1c68b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Cakefile renamed to src/cakefile.coffee

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{readdirSync, rmSync} = require "node:fs"
33
{join} = require "node:path"
44
{env} = require "node:process"
5-
pkg = require "./package.json"
5+
pkg = require "../package.json"
66

77
option "-m", "--map", "Whether to generate source maps."
88

@@ -17,6 +17,7 @@ task "clean", "Deletes all generated files.", ->
1717
task "dist", "Packages the project.", ->
1818
invoke "clean"
1919
invoke "build"
20+
rmSync "lib/cakefile.js"
2021

2122
task "lint", "Performs the static analysis of source code.", ->
2223
npx "coffeelint", "--file=etc/coffeelint.json", "Cakefile", "example", "src", "test"

0 commit comments

Comments
 (0)