Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
pdn-certic
MaX
Commits
b0f4cd68
Commit
b0f4cd68
authored
Apr 01, 2022
by
Jerome Chauveau
Browse files
deploy : ajout des .ignore dans les plugins. max.sh : Pas de npm install dans un env de prod
parent
26bd0a29
Changes
2
Hide whitespace changes
Inline
Side-by-side
tools/build.sh
View file @
b0f4cd68
...
...
@@ -32,6 +32,11 @@ cp $DIRECTORY/../max.xq $RELEASE_FOLDER
cp
$DIRECTORY
/../legal.txt
$RELEASE_FOLDER
cp
$DIRECTORY
/../README.md
$RELEASE_FOLDER
cp
-Lr
$DIRECTORY
/../plugins
$RELEASE_FOLDER
MAX_PLUGINS_DIR
=
$RELEASE_FOLDER
/plugins
for
i
in
`
ls
$MAX_PLUGINS_DIR
`
do
touch
$MAX_PLUGINS_DIR
/
$i
/.ignore
done
cp
$DIRECTORY
/../tools/max.sh
$RELEASE_FOLDER
/tools
cp
-r
$DIRECTORY
/../tools/xq
$RELEASE_FOLDER
/tools
cp
$DIRECTORY
/../tools/
*
.xml
$RELEASE_FOLDER
/tools
...
...
@@ -60,9 +65,9 @@ mv site ../$RELEASE_FOLDER/documentation
cd
..
rm
-rf
max-documentation
echo
"RELEASE BUILT DONE in "
$RELEASE_FOLDER
zip
-r
$RELEASE_FOLDER
.zip
$RELEASE_FOLDER
mkdir
dist
mv
$RELEASE_FOLDER
.zip
$RELEASE_FOLDER
dist
\ No newline at end of file
mv
$RELEASE_FOLDER
.zip
$RELEASE_FOLDER
dist
echo
"RELEASE BUILT DONE in dist/"
$RELEASE_FOLDER
.zip
\ No newline at end of file
tools/max.sh
View file @
b0f4cd68
...
...
@@ -369,6 +369,8 @@ new_edition_build(){
init_dev_max
(){
if
[
-f
$DIRECTORY
'/../package.json'
]
then
dependency_test npm
cd
$DIRECTORY
/..
npm
install
...
...
@@ -383,6 +385,7 @@ init_dev_max(){
echo
"
*** MaX initialization is finished :) ***
"
;
fi
}
...
...
Write
Preview
Supports
Markdown
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