Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gulp task package refactored, small fixes in other tasks #154

Conversation

ppitonak
Copy link
Member

  • the most important Gulp task is split into multiple tasks so it is easier to understand and debug/improve
  • return and callbacks added where necessary for tasks to run correctly
  • known issue: Gulp doesn't log tasks ideally

@ppitonak
Copy link
Member Author

@dgolovin, @jrichter1 please review and merge if everything is OK.

@jrichter1
Copy link
Collaborator

The 'dist' script creates a simple installer and then overwrites it with a bundled installer - both files have the same name.

@@ -38,6 +39,9 @@ let zaSfxExe = path.join(zaRoot, '7zS.exe');
let zaExtra7z = path.join(zaRoot, '7z920_extra.7z');
let rhZip = path.join(zaRoot, 'resource_hacker.zip');
let rhExe = path.join(zaRoot, 'ResourceHacker.exe');
let zaElectronPackage = path.join(zaRoot, artifactName + '-win32-x64');
let bundled7z = path.join(zaRoot, artifactName +'-win32-x64.7z');
let installerExe = path.join(zaRoot, artifactName + '-' + pjson.version + artifactType + '-installer.exe');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Declaring installerExe here means that artifactType will always be empty, hence both simple and bundled installers will have the same name.

@ppitonak
Copy link
Member Author

@jrichter1 fixed

@jrichter1
Copy link
Collaborator

Released to master.

@jrichter1 jrichter1 closed this Apr 21, 2016
@ppitonak ppitonak deleted the gulpfile-improvement branch April 21, 2016 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants