Skip to content

Commit

Permalink
Build/npm ignore file (#936)
Browse files Browse the repository at this point in the history
* build: add npm ignore file

build: exclude *.t.sol files from NPM package

* test: absolute paths in precompiles test

* build: remove .npmignore

build: add "!test/utils/*.t.sol" in package json files

* build: npm ignore file in test utils

---------

Co-authored-by: Paul Razvan Berg <prberg@proton.me>
  • Loading branch information
andreivladbrg and PaulRBerg committed Jul 3, 2024
1 parent f8dacff commit ff1da00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions test/utils/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.t.sol
10 changes: 5 additions & 5 deletions test/utils/Precompiles.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ pragma solidity >=0.8.22 <0.9.0;

import { LibString } from "solady/src/utils/LibString.sol";

import { Precompiles } from "../../precompiles/Precompiles.sol";
import { ISablierV2LockupDynamic } from "../../src/interfaces/ISablierV2LockupDynamic.sol";
import { ISablierV2LockupLinear } from "../../src/interfaces/ISablierV2LockupLinear.sol";
import { ISablierV2LockupTranched } from "../../src/interfaces/ISablierV2LockupTranched.sol";
import { ISablierV2NFTDescriptor } from "../../src/interfaces/ISablierV2NFTDescriptor.sol";
import { Precompiles } from "precompiles/Precompiles.sol";
import { ISablierV2LockupDynamic } from "src/interfaces/ISablierV2LockupDynamic.sol";
import { ISablierV2LockupLinear } from "src/interfaces/ISablierV2LockupLinear.sol";
import { ISablierV2LockupTranched } from "src/interfaces/ISablierV2LockupTranched.sol";
import { ISablierV2NFTDescriptor } from "src/interfaces/ISablierV2NFTDescriptor.sol";

import { Base_Test } from "../Base.t.sol";

Expand Down

0 comments on commit ff1da00

Please sign in to comment.