Skip to content

Commit

Permalink
Fix packaging script
Browse files Browse the repository at this point in the history
  • Loading branch information
mlwilkerson committed Oct 22, 2018
1 parent d9de4f0 commit 204715d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions bin/package.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
};

rcp($plugin_dir . '/vendor', $dist_dir . '/vendor');
rcp($plugin_dir . '/releases', $dist_dir . '/releases');
rcp($plugin_dir . '/includes', $dist_dir . '/includes');
rcp($plugin_dir . '/admin', $dist_dir . '/admin');
copy($plugin_dir . '/index.php', $dist_dir . '/index.php');
copy($plugin_dir . '/defines.php', $dist_dir . '/defines.php');
copy($plugin_dir . '/font-awesome-official.php', $dist_dir . '/font-awesome-official.php');
copy($repo_dir . '/readme.txt', $dist_dir . '/readme.txt');
copy($repo_dir . '/LICENSE', $dist_dir . '/LICENSE');
Expand Down Expand Up @@ -61,8 +61,9 @@ function rzip($zip, $src, $flags, $options){
}
}
}
} else {
printf("WARNING: $src is not a directory. Ignoring.\n");
}
printf("WARNING: $src is not a directory. Ignoring.\n");
}

function rimraf($target){
Expand Down

0 comments on commit 204715d

Please sign in to comment.