From 6cfd0ea6c8dab02b045f4b07a5aae386392dca14 Mon Sep 17 00:00:00 2001 From: Nikolay Dorofeev Date: Sun, 12 Nov 2023 09:30:13 +0400 Subject: [PATCH] Build contracts before test --- .prettierignore | 3 ++- contracts/package.json | 4 ++-- turbo.json | 6 ++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.prettierignore b/.prettierignore index a4a413ce..418f830f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -6,4 +6,5 @@ node_modules .output .env dist -*.md \ No newline at end of file +build +*.md diff --git a/contracts/package.json b/contracts/package.json index 7e55303d..b1f8ec89 100644 --- a/contracts/package.json +++ b/contracts/package.json @@ -4,9 +4,9 @@ "private": true, "scripts": { "build": "blueprint build --all", + "test": "jest", "bp:start": "blueprint run", - "bp:build": "blueprint build", - "test": "jest" + "bp:build": "blueprint build" }, "devDependencies": { "@ton-community/blueprint": "^0.12.0", diff --git a/turbo.json b/turbo.json index 312c706f..16700cd8 100644 --- a/turbo.json +++ b/turbo.json @@ -12,8 +12,14 @@ "dependsOn": ["^generate"], "outputs": ["dist"] }, + "@d0rich/contracts#build": { + "outputs": ["dist"] + }, "typecheck": {}, "test": {}, + "@d0rich/contracts#test": { + "dependsOn": ["@d0rich/contracts#build"] + }, "dev": { "cache": false, "persistent": true