Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-build
Commits
8cb89efe
Commit
8cb89efe
authored
Mar 24, 2021
by
John van Groningen
Browse files
in clean-classic for linux-x86 add generics examples
parent
9df4b93e
Pipeline
#50269
passed with stage
in 14 minutes and 3 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
clean-classic/linux-x86/build_examples.sh
View file @
8cb89efe
(
cd
git/clean-libraries
;
git checkout master Examples/Small
\
Examples
)
(
cd
git/clean-libraries
;
git checkout master Examples/Small
\
Examples
Examples/GenLib
)
mkdir
-p
clean-libraries/Examples
mv
git/clean-libraries/Examples/Small
\
Examples clean-libraries/Examples
mv
git/clean-libraries/Examples/GenLib clean-libraries/Examples
mkdir
-p
clean/examples/SmallExamples
for
a
in
acker copyfile e fsieve hamming invperm lqueen mulmat nfib pascal reverse revtwice
\
...
...
@@ -10,6 +11,22 @@ done
cp
clean-libraries/Examples/Small
\
Examples/run_all_programs clean/examples/SmallExamples
cp
clean-libraries/Examples/Small
\
Examples/Makefile clean/examples/SmallExamples/Makefile
mkdir
-p
clean/examples/GenericsExamples
cp
clean-libraries/Examples/GenLib/
*
.icl clean/examples/GenericsExamples
cat
>
clean/examples/GenericsExamples/make.sh
<<
EOF
export PATH=../../bin:
\$
PATH
clm -nt eq -o eq
clm -nt freevars -o freevars
clm -nt fromStr -o fromStr
clm -nt mapSt -o mapSt
clm -nt reduce -o reduce
clm -nt -IL Generics toStr -o toStr
clm -nt value -o value
clm -nt zip -o zip
EOF
chmod
+x clean/examples/GenericsExamples/make.sh
mkdir
-p
clean/examples/PlatformExamples/socket
mkdir
-p
clean/examples/PlatformExamples/WebPM/icons
cp
clean-platform/src/examples/
*
.
*
clean/examples/PlatformExamples
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment