build.sh 327 B

123456789
  1. # ARM6
  2. cross build --target arm-unknown-linux-gnueabihf --release
  3. # ARM7
  4. cross build --target armv7-unknown-linux-gnueabihf --release
  5. cp target/arm-unknown-linux-gnueabihf/release/partun release/arm6/
  6. cp target/armv7-unknown-linux-gnueabihf/release/partun release/arm7/
  7. git add release
  8. git commit -m "Cross compile release"