Skip to content

Commit

Permalink
Update the "dist" task
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Nov 5, 2024
1 parent 7a2e6e0 commit 9e1c68b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Cakefile → src/cakefile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{readdirSync, rmSync} = require "node:fs"
{join} = require "node:path"
{env} = require "node:process"
pkg = require "./package.json"
pkg = require "../package.json"

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

Expand All @@ -17,6 +17,7 @@ task "clean", "Deletes all generated files.", ->
task "dist", "Packages the project.", ->
invoke "clean"
invoke "build"
rmSync "lib/cakefile.js"

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

0 comments on commit 9e1c68b

Please sign in to comment.