mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Write file using grunt API
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = (grunt) ->
|
||||
filled = template(data)
|
||||
|
||||
outputPath = path.join(grunt.config.get('atom.buildDir'), path.basename(filePath))
|
||||
fs.writeFileSync(outputPath, filled)
|
||||
grunt.file.write(outputPath, filled)
|
||||
outputPath
|
||||
|
||||
grunt.registerTask 'mkdeb', 'Create debian package', ->
|
||||
|
||||
Reference in New Issue
Block a user