Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
react-native-notifications
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Jira
Jira
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
冷佳娟
react-native-notifications
Commits
b2c4281f
Commit
b2c4281f
authored
Aug 13, 2019
by
yogevbd
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add clean script
parent
e4455d19
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
package.json
package.json
+1
-0
scripts/clean.js
scripts/clean.js
+16
-0
No files found.
package.json
View file @
b2c4281f
...
@@ -24,6 +24,7 @@
...
@@ -24,6 +24,7 @@
"pretest"
:
"./node_modules/.bin/eslint *.js test"
,
"pretest"
:
"./node_modules/.bin/eslint *.js test"
,
"test"
:
"node scripts/test"
,
"test"
:
"node scripts/test"
,
"start"
:
"node ./scripts/start"
,
"start"
:
"node ./scripts/start"
,
"clean"
:
"node ./scripts/clean"
,
"test-e2e-ios"
:
"node ./scripts/test-e2e --ios"
,
"test-e2e-ios"
:
"node ./scripts/test-e2e --ios"
,
"test-e2e-ios-release"
:
"node ./scripts/test-e2e --ios --release"
,
"test-e2e-ios-release"
:
"node ./scripts/test-e2e --ios --release"
,
"test-unit-ios"
:
"node ./scripts/test-unit --ios"
,
"test-unit-ios"
:
"node ./scripts/test-unit --ios"
,
...
...
scripts/clean.js
0 → 100644
View file @
b2c4281f
const
exec
=
require
(
'
shell-utils
'
).
exec
;
run
();
function
run
()
{
exec
.
killPort
(
8081
);
exec
.
execSync
(
`watchman watch-del-all || true`
);
exec
.
execSync
(
`adb reverse tcp:8081 tcp:8081 || true`
);
exec
.
execSync
(
`rm -rf lib/ios/DerivedData`
);
exec
.
execSync
(
`rm -rf example/ios/DerivedData`
);
exec
.
execSync
(
`rm -rf lib/android/build`
);
exec
.
execSync
(
`rm -rf lib/android/app/build`
);
exec
.
execSync
(
`rm -rf example/android/build`
);
exec
.
execSync
(
`rm -rf example/android/app/build`
);
exec
.
execSync
(
`rm -rf lib/dist`
);
}
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