Browse Source

Force pre-commit hook to build full webui image

rfm69
Xose Pérez 6 years ago
parent
commit
7337911a91
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      pre-commit

+ 8
- 1
pre-commit View File

@ -120,4 +120,11 @@ if __name__ == "__main__":
for line in readme: for line in readme:
sys.stdout.write(fmt_line(line)) sys.stdout.write(fmt_line(line))
sys.exit(call(["git", "add", README]))
if call(["git", "add", README]):
sys.exit(1)
os.chdir("code")
if call(["node", "node_modules/gulp/bin/gulp.js"]):
sys.exit(2)
sys.exit(0);

Loading…
Cancel
Save