We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b1c75 commit 8dc976aCopy full SHA for 8dc976a
.gitignore
@@ -1,3 +1,5 @@
1
commitlog.md
2
nimclog
3
nimclog.deps
4
+bin
5
+.DS_Store
cross-compile.sh
@@ -11,6 +11,17 @@ build_commands=('
11
; nim c -d:release -d:mingw --cpu:amd64 -o:bin/windows-amd64/nimclog.exe src/nimclog.nim
12
')
13
14
+# run a docker container with osxcross and cross compile everything
15
docker run -it --rm -v `pwd`:/usr/local/src \
16
chrishellerappsian/docker-nim-cross:latest \
17
/bin/bash -c "choosenim stable; $build_commands"
18
+
19
20
+# create archives
21
+cd bin
22
+for dir in $(ls -d *);
23
+do
24
+ tar cfzv "$dir".tgz $dir
25
+ rm -rf $dir
26
+done
27
+cd ..
0 commit comments