Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
openzeppelin-contracts-upgradeable
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
俞永鹏
openzeppelin-contracts-upgradeable
Commits
fa36244b
Commit
fa36244b
authored
May 13, 2020
by
Francisco Giordano
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
separate prepare and prepack scripts to fix CI
parent
4fe31f8d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
package.json
package.json
+2
-1
remove-ignored-artifacts.js
scripts/remove-ignored-artifacts.js
+0
-3
No files found.
package.json
View file @
fa36244b
...
@@ -20,7 +20,8 @@
...
@@ -20,7 +20,8 @@
"lint:js"
:
"eslint --ignore-path .gitignore ."
,
"lint:js"
:
"eslint --ignore-path .gitignore ."
,
"lint:js:fix"
:
"eslint --ignore-path .gitignore . --fix"
,
"lint:js:fix"
:
"eslint --ignore-path .gitignore . --fix"
,
"lint:sol"
:
"solhint --max-warnings 0
\"
contracts/**/*.sol
\"
"
,
"lint:sol"
:
"solhint --max-warnings 0
\"
contracts/**/*.sol
\"
"
,
"prepare"
:
"node scripts/prepare.js"
,
"prepare"
:
"npm run compile"
,
"prepack"
:
"node scripts/remove-ignored-artifacts.js"
,
"release"
:
"scripts/release/release.sh"
,
"release"
:
"scripts/release/release.sh"
,
"version"
:
"scripts/release/version.sh"
,
"version"
:
"scripts/release/version.sh"
,
"test"
:
"mocha --exit --recursive"
"test"
:
"mocha --exit --recursive"
...
...
scripts/
prepare
.js
→
scripts/
remove-ignored-artifacts
.js
View file @
fa36244b
...
@@ -4,15 +4,12 @@
...
@@ -4,15 +4,12 @@
const
fs
=
require
(
'fs'
);
const
fs
=
require
(
'fs'
);
const
path
=
require
(
'path'
);
const
path
=
require
(
'path'
);
const
cp
=
require
(
'child_process'
);
const
match
=
require
(
'micromatch'
);
const
match
=
require
(
'micromatch'
);
function
readJSON
(
path
)
{
function
readJSON
(
path
)
{
return
JSON
.
parse
(
fs
.
readFileSync
(
path
));
return
JSON
.
parse
(
fs
.
readFileSync
(
path
));
}
}
cp
.
spawnSync
(
'npm'
,
[
'run'
,
'compile'
],
{
stdio
:
'inherit'
});
const
pkgFiles
=
readJSON
(
'package.json'
).
files
;
const
pkgFiles
=
readJSON
(
'package.json'
).
files
;
// Get only negated patterns.
// Get only negated patterns.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment