Skip to content

Commit

Permalink
feat: Exclude interfaces from compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Kok Kek committed Jun 7, 2023
1 parent 3b8489a commit f3712a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions init/vendee.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ const config: Config = {
/**
* List of source files for compilation in contract directory in **glob** format
* @see https://github.com/isaacs/node-glob
* @default 'latest'
* @default ['**\/*.tsol', '**\/*.sol']
*/
include: ['**/*.tsol', '**/*.sol'],

/**
* List of source files excluded from compilation in contracts directory in **glob** format
* @see https://github.com/isaacs/node-glob
* @default ['']
* @default ['**\/interface/*', '**\/interfaces/*']
*/
exclude: ['interface/*']
exclude: ['**/interface/*', '**/interfaces/*']
},

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vendee",
"version": "1.1.2",
"version": "1.1.3",
"description": "TVM-Solidity contract development framework",
"scripts": {
"build": "tsc --build .",
Expand Down
2 changes: 1 addition & 1 deletion src/cli/config/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const defaults: VendeeConfig = {
compiler: 'latest',
linker: 'latest',
include: ['**/*.tsol', '**/*.sol'],
exclude: []
exclude: ['**/interface/*', '**/interfaces/*']
},
networks: {
local: {
Expand Down

0 comments on commit f3712a5

Please sign in to comment.