mirror of
https://github.com/BorysLevytskyi/BitwiseCmd.git
synced 2026-01-15 08:22:37 +01:00
Implemented process html task
This commit is contained in:
13
Gruntfile.js
13
Gruntfile.js
@@ -30,6 +30,13 @@ module.exports = function(grunt) {
|
||||
flatten: true,
|
||||
expand: true
|
||||
}
|
||||
},
|
||||
processhtml: {
|
||||
build: {
|
||||
files: {
|
||||
'build/index.html' : ['build/index.html']
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -37,9 +44,11 @@ module.exports = function(grunt) {
|
||||
grunt.loadNpmTasks('grunt-contrib-uglify');
|
||||
grunt.loadNpmTasks('grunt-contrib-cssmin');
|
||||
grunt.loadNpmTasks('grunt-contrib-copy');
|
||||
grunt.loadNpmTasks('grunt-processhtml');
|
||||
|
||||
|
||||
// Default task(s).
|
||||
grunt.registerTask('default', ['uglify','cssmin','copy']);
|
||||
|
||||
// Default task(s).
|
||||
grunt.registerTask('default', ['uglify','cssmin','copy', 'processhtml']);
|
||||
|
||||
};
|
||||
@@ -7,6 +7,7 @@
|
||||
<title>BitwiseCmd</title>
|
||||
<link rel="shortcut icon" href="http://bitwisecmd.com/favicon.ico">
|
||||
|
||||
<!-- build:js js/bitwisecmd.min.js -->
|
||||
<script type="text/javascript" src="js/core/core.js"></script>
|
||||
<script type="text/javascript" src="js/core/is.js"></script>
|
||||
<script type="text/javascript" src="js/core/should.js"></script>
|
||||
@@ -32,6 +33,7 @@
|
||||
<script type="text/javascript" src="js/app/services.js"></script>
|
||||
<script type="text/javascript" src="js/app/controllers.js"></script>
|
||||
<script type="text/javascript" src="js/app/cmd/commands.js"></script>
|
||||
<!-- /build -->
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="css/styles.css" />
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user