Commit ac6befb5 authored by Mart Lubbers's avatar Mart Lubbers
Browse files

Generate BasicAPIExamples.icl for linux-64

parent c6cd2ec4
......@@ -8,6 +8,8 @@ cp -r src/itasks-sdk/Libraries/iTasks* target/clean-lib-itasks/lib/iTasks/
# Add examples
mkdir -p target/clean-lib-itasks/examples/iTasks
# Copy others
cp -r src/itasks-sdk/Examples/* target/clean-lib-itasks/examples/iTasks/
find target/clean-lib-itasks -name "*.prj.default" | while read f; do
mv "$f" "$(dirname $f)/$(basename -s .prj.default $f)".prj
......@@ -29,6 +31,12 @@ cp -r src/itasks-sdk/Tools/WebResourceCollector.icl build/itasks-web-collector/
cp build/itasks-web-collector/itasks-web-collector target/clean-lib-itasks/lib/exe/itasks-web-collector
# BasicAPIExamples
(cd src/itasks-sdk/Examples
clm -nr -nt -IL Platform CreateBasicAPIExamples -o CreateBasicAPIExamples
./CreateBasicAPIExamples > ../../../target/clean-lib-itasks/examples/iTasks/BasicAPIExamples.icl
# Add environments
mkdir -p target/clean-lib-itasks/etc
cp src/itasks-sdk/Config/linux-x64/iTasks.env target/clean-lib-itasks/etc/iTasks.env
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment