Skip to content

Commit

Permalink
build(config): use rimraf instead of grunt-contrib-clean
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguttandin committed Nov 8, 2024
1 parent bb31446 commit a423613
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion config/grunt/aliases.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
build: ['clean:build', 'sh:build-es2019', 'copy:src', 'clean:src', 'sh:build-es5'],
build: ['sh:rimraf-build', 'sh:build-es2019', 'copy:src', 'sh:rimraf-src', 'sh:build-es5'],
continuous: ['sh:continuous'],
lint: ['sh:lint-config', 'sh:lint-src', 'sh:lint-test'],
test: ['sh:test']
Expand Down
4 changes: 0 additions & 4 deletions config/grunt/clean.js

This file was deleted.

6 changes: 6 additions & 0 deletions config/grunt/sh.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ module.exports = (grunt) => {
'lint-test': {
cmd: 'npx ng lint angular-audio-context --configuration test'
},
'rimraf-build': {
cmd: 'rimraf build/*'
},
'rimraf-src': {
cmd: 'rimraf build/es2019/src'
},
'test': {
cmd: 'npx ng test --watch false'
}
Expand Down

0 comments on commit a423613

Please sign in to comment.