mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-15 03:04:37 +03:00
Use grunt API for copying files
This commit is contained in:
parent
3a54d0b8a9
commit
11004c20e6
@ -15,7 +15,7 @@ module.exports = (grunt) ->
|
||||
if fs.statSync(source).isDirectory()
|
||||
require('wrench').copyDirSyncRecursive(arguments...)
|
||||
else
|
||||
fs.writeFileSync(destination, fs.readFileSync(source))
|
||||
grunt.file.copy(source, destination)
|
||||
grunt.log.writeln("Copied #{source.cyan} to #{destination.cyan}.")
|
||||
|
||||
grunt.initConfig
|
||||
|
Loading…
Reference in New Issue
Block a user