Skip to content

Commit

Permalink
Fix grunt copy task
Browse files Browse the repository at this point in the history
  • Loading branch information
lucono committed Sep 4, 2016
1 parent 26ae854 commit ff10100
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
Expand Up @@ -119,8 +119,7 @@ module.exports = function (grunt) {
shell: {
copy_shared_test_files: {
command: [
'rm -rf build',
'mkdir build',
'rm -rf build; mkdir build',
'mkdir build/shared',
'cp -rp ../../xtypejs/dist/xtype.js ./build/shared',
'cp -rp ../xtypejs-extension-custom-types/dist/xtypejs-extension-custom-types.js ./build/shared',
Expand Down
Expand Up @@ -103,8 +103,7 @@ module.exports = function (grunt) {
shell: {
copy_shared_test_files: {
command: [
'rm -rf build',
'mkdir build',
'rm -rf build; mkdir build',
'mkdir build/shared',
'cp -rp ../../xtypejs/dist/xtype.js ./build/shared',
'cp -rp --remove-destination ../../../shared/test/ ./build/shared'
Expand Down
Expand Up @@ -103,8 +103,7 @@ module.exports = function (grunt) {
shell: {
copy_shared_test_files: {
command: [
'rm -rf build',
'mkdir build',
'rm -rf build; mkdir build',
'mkdir build/shared',
'cp -rp ../../xtypejs/dist/xtype.js ./build/shared',
'cp -rp --remove-destination ../../../shared/test/ ./build/shared'
Expand Down
2 changes: 1 addition & 1 deletion project/xtypejs/Gruntfile.js
Expand Up @@ -104,7 +104,7 @@ module.exports = function (grunt) {
shell: {
copy_shared_test_files: {
command: [
'mkdir build',
'rm -rf build; mkdir build',
'mkdir build/shared',
'cp -rp --remove-destination ../../shared/test/ ./build/shared'
].join('&&')
Expand Down

0 comments on commit ff10100

Please sign in to comment.