Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duniter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
nodes
typescript
duniter
Commits
d5e6ebcf
Commit
d5e6ebcf
authored
7 years ago
by
Cédric Moreau
Browse files
Options
Downloads
Patches
Plain Diff
[fix]
#1230
The `plug` command was broken by NodeJS 8
parent
70a1073f
No related branches found
No related tags found
1 merge request
!1226
[fix] #1230 The `plug` command was broken by NodeJS 8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
release/arch/arm/build-arm.sh
+3
-3
3 additions, 3 deletions
release/arch/arm/build-arm.sh
release/arch/debian/build-deb.sh
+2
-15
2 additions, 15 deletions
release/arch/debian/build-deb.sh
with
5 additions
and
18 deletions
release/arch/arm/build-arm.sh
+
3
−
3
View file @
d5e6ebcf
...
@@ -66,9 +66,9 @@ cd ${RELEASES}/duniter
...
@@ -66,9 +66,9 @@ cd ${RELEASES}/duniter
echo
"Copying Nodejs"
echo
"Copying Nodejs"
cp
-R
"
$DOWNLOADS
/node-
${
NVER
}
-linux-
${
ARCH
}
"
node
cp
-R
"
$DOWNLOADS
/node-
${
NVER
}
-linux-
${
ARCH
}
"
node
echo
"yarn"
npm
install
yarn
yarn add
duniter-ui@1.6.x
--save
--production
npm
install
duniter-ui@1.6.x
--save
--production
SRC
=
`
pwd
`
SRC
=
`
pwd
`
echo
$SRC
echo
$SRC
...
...
This diff is collapsed.
Click to expand it.
release/arch/debian/build-deb.sh
+
2
−
15
View file @
d5e6ebcf
...
@@ -78,25 +78,12 @@ cd ${RELEASES}/duniter
...
@@ -78,25 +78,12 @@ cd ${RELEASES}/duniter
# Remove git files
# Remove git files
rm
-Rf
.git
rm
-Rf
.git
[[
$?
-eq
0
]]
&&
echo
">> VM: building modules..."
[[
$?
-eq
0
]]
&&
echo
">> VM: building modules..."
[[
$?
-eq
0
]]
&&
yarn
[[
$?
-eq
0
]]
&&
npm
install
#[[ $? -eq 0 ]] && echo ">> VM: running tests..."
#[[ $? -eq 0 ]] && yarn test
# Duniter UI
# Duniter UI
[[
$?
-eq
0
]]
&&
yarn add duniter-ui@1.6.x
[[
$?
-eq
0
]]
&&
npm
install
duniter-ui@1.6.x
[[
$?
-eq
0
]]
&&
npm prune
--production
[[
$?
-eq
0
]]
&&
npm prune
--production
# Specific modules that are not needed in a release
rm
-rf
node_modules/materialize-css
rm
-rf
node_modules/duniter-ui/app
rm
-rf
node_modules/duniter-ui/vendor
rm
-rf
node_modules/scryptb/node_modules/node-pre-gyp
rm
-rf
node_modules/naclb/node_modules/node-pre-gyp
rm
-rf
node_modules/wotb/node_modules/node-pre-gyp
rm
-rf
node_modules/sqlite3/build
cp
-r
"
$RELEASES
/duniter"
"
$RELEASES
/desktop_"
cp
-r
"
$RELEASES
/duniter"
"
$RELEASES
/desktop_"
cp
-r
"
$RELEASES
/duniter"
"
$RELEASES
/server_"
cp
-r
"
$RELEASES
/duniter"
"
$RELEASES
/server_"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment