Skip to content

Commit

Permalink
r0b08x [chore] 10/20/2020, 11:00:38 AM
Browse files Browse the repository at this point in the history
  • Loading branch information
p3x-robot committed Oct 20, 2020
1 parent d6335a2 commit eb8f322
Show file tree
Hide file tree
Showing 11 changed files with 35 additions and 14 deletions.
22 changes: 19 additions & 3 deletions Gruntfile.js
@@ -1,3 +1,6 @@
const fsExtra = require('fs-extra');
const path = require('path');

const prodDir = require('./package').corifeus["prod-dir"]
module.exports = function (grunt) {

Expand All @@ -6,6 +9,9 @@ module.exports = function (grunt) {
const builder = require(`corifeus-builder`);
const gruntUtil = builder.utils;
const loader = new builder.loader(grunt);

const lessConfig = require('./src/browser/grunt/less').lessSettings(grunt)

loader.js({
replacer: {
type: 'p3x',
Expand Down Expand Up @@ -49,7 +55,7 @@ module.exports = function (grunt) {

},
less: {
development: require('./src/browser/grunt/less').lessSettings(grunt),
development: lessConfig,
},
watch: {
less: {
Expand All @@ -65,6 +71,15 @@ module.exports = function (grunt) {
}
});

grunt.registerTask('wait-empty', async function() {
const done = this.async()
setTimeout(() => {
const deleteMe = path.resolve(`${process.cwd()}/public/prod/webpack`)
console.log(deleteMe)
fsExtra.emptyDirSync(deleteMe)
done()
}, 5000)
})
grunt.registerTask('build', async function() {
const done = this.async()
const cwd = process.cwd()
Expand All @@ -88,8 +103,9 @@ module.exports = function (grunt) {
}
})

grunt.registerTask('default', ['clean', 'less', 'copy', 'cory-npm', 'cory-replace', 'build']);
grunt.registerTask('default-less', ['clean', 'less', 'copy', 'cory-npm', 'cory-replace']);
// grunt.registerTask('default', ['clean', 'less', 'copy', 'cory-npm', 'cory-replace', 'build']);
grunt.registerTask('default', ['cory-npm', 'cory-replace', 'wait-empty', 'clean', 'less', 'copy', 'build']);
grunt.registerTask('default-less', [ 'cory-npm', 'clean', 'less', 'copy','cory-replace']);

};

2 changes: 1 addition & 1 deletion INSTALL.md
Expand Up @@ -127,7 +127,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.138
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.170

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -9,7 +9,7 @@



# 馃 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2020.10.138
# 馃 P3X Gitlist - A decorated enhanced elegant, feature rich and modern private git ui repository viewer v2020.10.170



Expand Down Expand Up @@ -167,7 +167,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.138
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.170

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/php-7.2-ubuntu.md
Expand Up @@ -31,7 +31,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.138
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.170

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion artifacts/screenshots.md
Expand Up @@ -36,7 +36,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.138
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.170

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion change-break.md
Expand Up @@ -61,7 +61,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.138
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.170

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
5 changes: 4 additions & 1 deletion changelog.md
Expand Up @@ -5,6 +5,9 @@
[//]: #@corifeus-header:end

## v2020.10.170
* BUILD: Kept older versions in the release.

## v2020.10.138
* BUGFIX: List searcher pager elements were hidden after the search clear button click.

Expand Down Expand Up @@ -391,7 +394,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.138
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.170

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "p3x-gitlist",
"version": "2020.10.139",
"version": "2020.10.171",
"corifeus": {
"prod-dir": "prod",
"css-postfix": "8940b9c0b13e7fb3feb0a90e8db862ec8ab4763b0b7e8f438de43d7ae7b4145a",
Expand Down
4 changes: 3 additions & 1 deletion src/browser/grunt/less.js
Expand Up @@ -116,8 +116,10 @@ module.exports = themes;
// grunt.log.writeln(JSON.stringify(filesLess, null, 4))
}


lessFiles = generateLessFiles();



return lessFiles;
}
};
Expand Down
2 changes: 1 addition & 1 deletion todo.md
Expand Up @@ -43,7 +43,7 @@ All my domains ([patrikx3.com](https://patrikx3.com) and [corifeus.com](https://

---

[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.138
[**P3X-GITLIST**](https://corifeus.com/gitlist) Build v2020.10.170

[![Donate for Corifeus / P3X](https://img.shields.io/badge/Donate-Corifeus-003087.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZVM4V6HVZJW6) [![Contact Corifeus / P3X](https://img.shields.io/badge/Contact-P3X-ff9900.svg)](https://www.patrikx3.com/en/front/contact) [![Like Corifeus @ Facebook](https://img.shields.io/badge/LIKE-Corifeus-3b5998.svg)](https://www.facebook.com/corifeus.software)

Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Expand Up @@ -70,7 +70,7 @@ plugins.push(
}
}),
)
*/
*/

if (minimize) {

Expand Down

0 comments on commit eb8f322

Please sign in to comment.