Skip to content

Commit

Permalink
add gradle build
Browse files Browse the repository at this point in the history
  • Loading branch information
andrey-zh committed Nov 26, 2021
1 parent ca4f7b2 commit 615e007
Show file tree
Hide file tree
Showing 7 changed files with 20,061 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.gradle
.gradle
dist
40 changes: 40 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
/*
* This file was generated by the Gradle 'init' task.
*
* This is a general purpose Gradle build.
* Learn how to create Gradle builds at https://guides.gradle.org/creating-new-gradle-builds/
*/
plugins {
id "com.moowork.node" version "1.2.0"
}

node {
download = true
}

task build

task zip(type: Zip) {
from ('.') {
include "*"
include "bin/**"
include "data/**"
include "node_modules/**"
include "public/**"
include "routes/**"
include "views/**"
}
destinationDir(file("dist"))
baseName "trainSchedule"
}

build.dependsOn zip
zip.dependsOn npm_build



build.dependsOn npm_build
npm_build.dependsOn npmInstall
npm_build.dependsOn npm_test
npm_test.dependsOn npmInstall

3,423 changes: 3,423 additions & 0 deletions hs_err_pid1630.log

Large diffs are not rendered by default.

9,735 changes: 9,735 additions & 0 deletions npm-debug.log.2127450214

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 615e007

Please sign in to comment.