Toggle navigation
P3X GitList Snapshot
GitHub
Repo
Changelog
To do
Releases
Themes
Change log
Loading change log ...
To do ...
Loading todo ...
browsing:
6b7dcf81f3b204f5192f719eb2fd4d9da8635fc1
Branches
master
Tags
1.1.129-287
1.1.113-149
1.1.108-143
1.1.95-138
1.1.92-119
1.0.35-18
1.0.13-14
Files
Commits
Log
Graph
Stats
angular-compile.git
Gruntfile.js
RSS
Git
Fetch origin
Download
ZIP
TAR
Clone
Raw
View
History
Clone
SSH
HTTPS
Blames found: 17
Mode: javascript
Binary: false
Hang on, we reloading big blames...
5c3da6ad
const utils = require('corifeus-utils'); const path = require('path') const fs = require('fs').promises
c605ea6f
5c3da6ad
module.exports = (grunt) => {
f46e4d96
5c3da6ad
const builder = require(`corifeus-builder`);
f46e4d96
const loader = new builder.loader(grunt);
5c3da6ad
loader.js({
f46e4d96
replacer: { type: 'p3x', npmio: true, }, });
5c3da6ad
grunt.registerTask('publish', async function () { const done = this.async();
f46e4d96
5c3da6ad
try { await builder.utils.spawn({ grunt: grunt, gruntThis: this, }, { cmd: 'npm', args: [ 'run', 'build-lib', ] }); done() } catch (e) { done(e) }
f46e4d96
5c3da6ad
});
f46e4d96
5c3da6ad
const defaultTask = ['cory-raw-npm-angular'].concat(builder.config.task.build.js.concat(['cory-angular-hook-lib'])) grunt.registerTask('default', defaultTask );
f46e4d96
09d923aa
}