Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ProjLab
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Radnai László
ProjLab
Commits
0dce70f1
Verified
Commit
0dce70f1
authored
4 years ago
by
Tóth Miklós Tibor
Browse files
Options
Downloads
Patches
Plain Diff
i wanna sleep
parent
58418324
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
build.ps1
+4
-0
4 additions, 0 deletions
build.ps1
docs/magic.sh
+13
-2
13 additions, 2 deletions
docs/magic.sh
with
17 additions
and
2 deletions
build.ps1
+
4
−
0
View file @
0dce70f1
...
@@ -46,5 +46,9 @@ Get-ChildItem -Recurse "projlab" |
...
@@ -46,5 +46,9 @@ Get-ChildItem -Recurse "projlab" |
}
}
Remove-Item
-path
"
$jarfile
"
2
>
$null
Remove-Item
-path
"
$jarfile
"
2
>
$null
Remove-Item
-path
META-INF
-recurse
mv
META-INF.bak
META-INF
jar
cfm
"
$jarfile
"
META-INF/MANIFEST.MF
projlab/
*.
class
projlab/commands/
*.
class
jar
cfm
"
$jarfile
"
META-INF/MANIFEST.MF
projlab/
*.
class
projlab/commands/
*.
class
echo
"Successfully built
$jarfile
"
echo
"Successfully built
$jarfile
"
This diff is collapsed.
Click to expand it.
docs/magic.sh
+
13
−
2
View file @
0dce70f1
...
@@ -9,10 +9,15 @@ if [ "$0" != "/tmp/merge/merge.sh" ]; then
...
@@ -9,10 +9,15 @@ if [ "$0" != "/tmp/merge/merge.sh" ]; then
exec
/tmp/merge/merge.sh
exec
/tmp/merge/merge.sh
fi
fi
if
[
-d
lines
]
;
then
cp
-r
docs/lines /tmp/
fi
hash
=
"
$(
git rev-parse HEAD
)
"
hash
=
"
$(
git rev-parse HEAD
)
"
for
week
in
2 3 4 5 6
7
9 10
11
13 14
;
do
for
week
in
7 11
2 3 4 5 6 9 10 13 14
;
do
echo
"week
$week
incoming..."
echo
"week
$week
incoming..."
git reset
--hard
git clean
-fd
git clean
-fd
git checkout
"w
${
week
}
"
git checkout
"w
${
week
}
"
...
@@ -20,6 +25,10 @@ for week in 2 3 4 5 6 7 9 10 11 13 14; do
...
@@ -20,6 +25,10 @@ for week in 2 3 4 5 6 7 9 10 11 13 14; do
bash
-c
"cd ..; /tmp/merge/build.sh"
bash
-c
"cd ..; /tmp/merge/build.sh"
fi
fi
if
[
"
$week
"
=
"14"
]
;
then
cp
-r
/tmp/lines docs/
fi
plab classdiag ../src
plab classdiag ../src
plantuml
-tlatex
:nopreamble /tmp/projlabclasses.txt
plantuml
-tlatex
:nopreamble /tmp/projlabclasses.txt
sed
-i
's/#/\\#/g'
/tmp/projlabclasses.latex
sed
-i
's/#/\\#/g'
/tmp/projlabclasses.latex
...
@@ -32,7 +41,9 @@ for week in 2 3 4 5 6 7 9 10 11 13 14; do
...
@@ -32,7 +41,9 @@ for week in 2 3 4 5 6 7 9 10 11 13 14; do
fi
fi
plab flatten weeks/
${
weektmp
}
.tex includes/misc-functions.tex /tmp/merge/
${
weektmp
}
.tex
plab flatten weeks/
${
weektmp
}
.tex includes/misc-functions.tex /tmp/merge/
${
weektmp
}
.tex
git reset
--hard
"w
${
week
}
"
cp
/tmp/projlabclasses.latex
"/tmp/projlabclasses-
${
weektmp
}
.latex"
sed
"s/
\\
/tmp
\\
/projlabclasses/
\\
/tmp
\\
/projlabclasses-
${
weektmp
}
/g"
-i
/tmp/merge/
${
weektmp
}
.tex
done
done
git checkout
"
$hash
"
git checkout
"
$hash
"
...
...
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