rakuten-frontend / grunt-appdmg Goto Github PK
View Code? Open in Web Editor NEWGrunt plugin for generating Mac OS X DMG-images.
License: MIT License
Grunt plugin for generating Mac OS X DMG-images.
License: MIT License
Can you add an option to sign the .dmg file giving .provisionfile path argument ?
The appdmg module has been upgraded for Node 12 compatibility.
Look at this PR for info LinusU/node-appdmg#179
As soon as this is resolved the version needs to be bumped so grunt-appdmg can install successfully
for some reason i cannot pass arguments to appdmg like i can for other grunt tasks. for example,
grunt.task.run('appdmg:volume1') fails with this error:
"Verifying property appdmg.volume1 exists in config...ERROR
Unable to process task.
Warning: Required config property "appdmg.mac-generic" missing. Use --force to continue."
i am trying to dynamically name the target using <%= grunt.task.current.args[0] =>
this approach is working for the grunt-copy plugin, but for appdmg ive had to use a task alias and then specify a config property inside the alias function..
any input is appreciated. otherwise fantastic plugin! thanks!
grunt.loadNpmTasks('grunt-appdmg');
grunt.registerTask('release', function() {
grunt.task.run('copy:main:volume1');
grunt.task.run('appdmg:volume1');
}
appdmg: {
options: {...stuff here...},
target: {
dest: '<%= grunt.tasks.current.args[0] %>.dmg'
}
}
With node v0.12.7 (latest available with brew), I get a fatal error:
Running "appdmg:target" (appdmg) task
Fatal error: undefined is not a function
TypeError: undefined is not a function
at EventEmitter.<anonymous> (/Users/felicienfrancois/git/TweakStyle/node_modules/grunt-appdmg/tasks/appdmg.js:39:41)
at EventEmitter.emit (events.js:107:17)
at Pipeline._progress (/Users/felicienfrancois/git/TweakStyle/node_modules/grunt-appdmg/node_modules/appdmg/lib/pipeline.js:20:11)
at Pipeline._runStep (/Users/felicienfrancois/git/TweakStyle/node_modules/grunt-appdmg/node_modules/appdmg/lib/pipeline.js:45:8)
at Pipeline._run (/Users/felicienfrancois/git/TweakStyle/node_modules/grunt-appdmg/node_modules/appdmg/lib/pipeline.js:97:8)
at process._tickCallback (node.js:355:11)
at Function.Module.runMain (module.js:503:11)
at startup (node.js:129:16)
at node.js:814:3
This is due to the use of String.repeat in tasks/appdmg.js:39 which is not defined in nodejs 0.12.7
We run a project that creates installations for Windows/Mac/Linux. We use grunt-appdmg
for the mac part, but of course we have logic in place to prevent using it when running on Windows/Linux machines.
We noticed that our npm install
fails on Linux/Windows. So we have to include grunt-appdmg
as an optionalDependency in package.json so we can run npm install --no-optional
to prevent its installation on linux/windows.
Is it possible to make this fail gracefully for cross-platform setups without the optionalDependency
workaround?
Hello,
First time that I build all is ok, but second time I have to delete my target folder to can compile, exists any type of flag like overwrite: true or something like that?
Running "appdmg:target" (appdmg) task
[ 1/20] Looking for target... [FAIL]Error: Target already exists
Warning: Task "appdmg:target" failed. Use --force to continue.Aborted due to warnings.
Thanks.
Any plan to support gulp?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.