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

Electron 10 babyyy #1425

Merged
merged 3 commits into from
Oct 6, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,6 @@ dist

# Visual Studio Code settings folder
.vscode

# gulp output
src/html
7 changes: 6 additions & 1 deletion buildconfig-generic.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@
"copyright": "Copyright © 2017-2020 UBports Foundation",
"publish": [],
"files": [
"src/**/*",
"src/**/*.js",
"src/fonts/*",
"src/img/*",
"src/img/*/*",
"src/screens/*",
"src/html/index.html",
"node_modules/**/*",
"platform-tools/${os}/**/*",
"build/icons/icon.*"
Expand Down
16 changes: 16 additions & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
const gulp = require("gulp");
const pug = require("gulp-pug");
gulp.task("pug", function() {
return gulp
.src("src/pug/index.pug")
.pipe(
pug({
data: {
installerVersion: require("./package.json").version
},
compileDebug: true,
pretty: true
})
)
.pipe(gulp.dest("src/html"));
});
Loading