Add missing task helpers require

This commit is contained in:
Kevin Sawicki 2014-09-12 13:21:11 -07:00
parent 1bfda1fc61
commit 97e7d24f43

View File

@ -60,12 +60,15 @@ getAssets = ->
when 'linux'
buildDir = grunt.config.get('atom.buildDir')
sourcePath = fs.listSync(buildDir, ['.deb'])[0]
if process.arch is 'ia32'
if process.arch is 'ia32g'
arch = 'i386'
else
arch = 'amd64'
assetName = "atom-#{arch}.deb"
{cp} = require('./task-helpers')(grunt)
cp sourcePath, path.join(buildDir, assetName)
[
{assetName, sourcePath}
]