mirror of
https://github.com/penpot/penpot.git
synced 2025-06-02 19:04:24 +02:00
feat: enable runnint test on travis
This commit is contained in:
parent
4da6ae0a74
commit
31766fde32
8 changed files with 79 additions and 105 deletions
|
@ -17,6 +17,7 @@
|
|||
"dist:assets": "gulp dist",
|
||||
"prod": "gulp dist --production",
|
||||
"start": "npm run figwheel",
|
||||
"build:test": "clojure -Adev tools.clj build-tests",
|
||||
"build:main": "clojure -Adev tools.clj build main",
|
||||
"build:view": "clojure -Adev tools.clj build view",
|
||||
"build:worker": "clojure -Adev tools.clj build worker",
|
||||
|
|
7
frontend/scripts/build-and-run-tests.sh
Executable file
7
frontend/scripts/build-and-run-tests.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
source ~/.bashrc
|
||||
|
||||
npm install
|
||||
npm run build:test || exit 1;
|
||||
|
||||
node ./target/tests/main
|
|
@ -1,10 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
source ~/.bashrc
|
||||
|
||||
npm install
|
||||
npm run build:main || exit 1;
|
||||
npm run build:view || exit 1;
|
||||
npm run build:worker || exit 1;
|
||||
|
||||
# TODO
|
||||
#node ./out/tests.js
|
Loading…
Add table
Add a link
Reference in a new issue